TreeList.SelectCells(Int32, String, Int32, String) Method
Selects cells in the specified range by data source IDs.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
public void SelectCells(
int startNodeId,
string startColumn,
int endNodeId,
string endColumn
)
#Parameters
Name | Type | Description |
---|---|---|
start |
Int32 | An ID of the node containing the cell that specifies the starting point of the range to select. |
start |
String | A column containing the cell that specifies the starting point of the range to select. |
end |
Int32 | An ID of the node containing the cell that specifies the end point of the range to select. |
end |
String | A column containing the cell that specifies the end point of the range to select. |
#Remarks
The SelectCells method selects multiple cells in the specified range by data source IDs (see TreeListNode.Id). The start and end points of the range are specified using the cells located at the intersection of the nodes (rows) and columns passed as parameters. To discard the selection, use the TreeList.UnselectCell or TreeList.UnselectCells methods.
After the selection changes, the TreeList.SelectionChanged event raises.
Note
The Select