Skip to main content

GridView.CanResizeRow(Int32) Method

Indicates whether end-users can resize a row.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation


public virtual bool CanResizeRow(
    int rowHandle


Name Type Description
rowHandle Int32

An integer value identifying the row by its handle.


Type Description

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


The method supports the grid control’s internal infrastructure and is not intended to be used in your code.

The CanResizeRow method’s return value depends on the row type. If a group row is specified, the method returns false. Otherwise, the method’s return value depends on the View’s GridOptionsCustomization.AllowRowSizing option state.

Views use the CanResizeRow method to determine whether the mouse cursor should change its appearance when over a row’s bottom edge. This method also specifies whether the resizing operation is allowed.


Detail pattern Views do not contain data and they are never displayed within XtraGrid. So, the CanResizeRow member must not be invoked for these Views. The CanResizeRow member can only be used with Views that display real data within the Grid Control. Use the following methods to access these Views with which an end user interacts at runtime.

See Also