Back to Devexpress

TableView.UnselectCells(Int32, GridColumn, Int32, GridColumn) Method

wpf-devexpress-dot-xpf-dot-grid-dot-tableview-dot-unselectcells-x28-system-dot-int32-devexpress-dot-xpf-dot-grid-dot-gridcolumn-system-dot-int32-devexpress-dot-xpf-dot-grid-dot-gridcolumn-x29.md

latest2.7 KB
Original Source

TableView.UnselectCells(Int32, GridColumn, Int32, GridColumn) Method

Unselects the specified cells.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public void UnselectCells(
    int startRowHandle,
    GridColumn startColumn,
    int endRowHandle,
    GridColumn endColumn
)
vb
Public Sub UnselectCells(
    startRowHandle As Integer,
    startColumn As GridColumn,
    endRowHandle As Integer,
    endColumn As GridColumn
)

Parameters

NameTypeDescription
startRowHandleInt32

An integer value that specifies the handle of the row containing the cell that identifies the starting point of the selection.

| | startColumn | GridColumn |

A GridColumn object that represents the column containing the cell that identifies the starting point of the selection.

| | endRowHandle | Int32 |

An integer value that specifies the handle of the row containing the cell that identifies the end point of the selection.

| | endColumn | GridColumn |

A GridColumn object that represents the column containing the cell that identifies the end point of the selection.

|

Remarks

The UnselectCells method unselects the specified block of cells. Individual cells can be unselected using the TableView.UnselectCell method.

To learn more on multi-cell selection, see Multiple Cell Selection.

See Also

UnselectCell(Int32, GridColumn)

SelectCell(Int32, GridColumn)

TableView Class

TableView Members

DevExpress.Xpf.Grid Namespace