TreeListView.SelectCells(TreeListNode, ColumnBase, TreeListNode, ColumnBase) Method
Selects multiple cells.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
#Declaration
public void SelectCells(
TreeListNode startNode,
ColumnBase startColumn,
TreeListNode endNode,
ColumnBase endColumn
)
#Parameters
Name | Type | Description |
---|---|---|
start |
Tree |
A Tree |
start |
Column |
A Column |
end |
Tree |
A Tree |
end |
Column |
A Column |
#Remarks
The SelectCells method allows you to select multiple cells, adding them to the existing selection (if any). In this case, the method’s parameters determine the starting and ending boundaries of the block.
The SelectCells 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 a single cell, use the TreeListView.SelectCell method.
To learn more on multi-cell selection, see Multiple Cell Selection.