GridView.CanResizeRow(Int32) Method

Indicates whether end-users can resize a row.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public virtual bool CanResizeRow(
    int rowHandle
)
Public Overridable Function CanResizeRow(
    rowHandle As Integer
) As Boolean

Parameters

Name Type Description
rowHandle Int32

An integer value identifying the row by its handle.

Returns

Type Description
Boolean

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

Remarks

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.

NOTE

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 real Views that are displayed within the Grid Control. The real Views with which an end-user interacts at runtime can be accessed using the following methods.

See Also