Back to Devexpress

TreeListView.UnselectCell(Int32, ColumnBase) Method

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-dot-unselectcell-x28-system-dot-int32-devexpress-dot-xpf-dot-grid-dot-columnbase-x29.md

latest1.8 KB
Original Source

TreeListView.UnselectCell(Int32, ColumnBase) 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,
    ColumnBase column
)
vb
Public Sub UnselectCell(
    rowHandle As Integer,
    column As ColumnBase
)

Parameters

NameTypeDescription
rowHandleInt32

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

| | column | ColumnBase |

A ColumnBase 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 TreeListView.SelectCell method.

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

See Also

SelectCell

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace