ColumnView.CanResizeColumn(GridColumn) Method

Indicates whether end-users can resize a specific column by dragging its right edge.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.1.dll


public virtual bool CanResizeColumn(
    GridColumn column
Public Overridable Function CanResizeColumn(
    column As GridColumn
) As Boolean


Name Type Description
column GridColumn

A GridColumn object representing the tested column.


Type Description

true if end-users can resize the specified column; otherwise, false.


For Card Views, the method always returns false. For the GridView and its descendants, the specified column's OptionsColumn.AllowSize option value is returned.

Note that the CanResizeColumn method only indicates the availability of the column resizing feature to end-users. You can change column widths using the GridColumn.Width property regardless of this method's return value.

See Also