Back to Devexpress

TableView.UnselectCell(Int32, GridColumn) Method

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

latest1.9 KB
Original Source

TableView.UnselectCell(Int32, GridColumn) Method

Unselects the specified cell.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public void UnselectCell(
    int rowHandle,
    GridColumn column
)
vb
Public Sub UnselectCell(
    rowHandle As Integer,
    column As GridColumn
)

Parameters

NameTypeDescription
rowHandleInt32

An integer value that specifies the handle of the row, containing the cell.

| | column | GridColumn |

A GridColumn object that represents the column, containing the cell.

|

Remarks

Use the UnselectCell method to unselect individual cells, preserving the existing selection (if any). To select a cell, use the TableView.SelectCell method.

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

See Also

SelectCell(Int32, GridColumn)

TableView Class

TableView Members

DevExpress.Xpf.Grid Namespace