TreeListView.SelectCell(TreeListNode, ColumnBase) Method
Selects the cell.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
#Declaration
public void SelectCell(
TreeListNode node,
ColumnBase column
)
#Parameters
Name | Type | Description |
---|---|---|
node | Tree |
A Tree |
column | Column |
A Column |
#Remarks
Use the SelectCell method to select a cell, adding it to the existing selection (if any). A cell is located at the intersection of the specified node and column.
The SelectCell method does nothing if the DataViewBase.NavigationStyle property isn’t set to GridViewNavigationStyle.Cell and/or the DataControlBase.SelectionMode property isn’t set to Cell
.
To select multiple cells, use the TreeListView.SelectCells method.
To learn more on multi-cell selection, see Multiple Cell Selection.