Skip to main content

GridView.UnSelectCells(Int32, GridColumn, Int32, GridColumn) Method

Unselects cells within the specified range.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public void UnSelectCells(
    int startRowHandle,
    GridColumn startColumn,
    int endRowHandle,
    GridColumn endColumn
)

Parameters

Name Type Description
startRowHandle Int32

An integer value that is the handle of the row where the range starts.

startColumn GridColumn

A GridColumn object that is the column where the range starts.

endRowHandle Int32

An integer value that is the handle of the row where the range ends.

endColumn GridColumn

A GridColumn object that is the column where the range ends.

Remarks

The UnSelectCells method unselects the specified block of cells. To unselect any selected cells within the view, use the ColumnView.ClearSelection method.

See Also