wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-dot-selectrange-x28-system-dot-int32-system-dot-int32-x29.md
Use the SelectRange method instead
Selects multiple nodes, while preserving the current selection (if any).
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.dll
NuGet Package : DevExpress.Wpf.Grid.Core
[Obsolete("Use the DataControlBase.SelectRange method instead")]
[Browsable(false)]
public void SelectRange(
int startRowHandle,
int endRowHandle
)
<Obsolete("Use the DataControlBase.SelectRange method instead")>
<Browsable(False)>
Public Sub SelectRange(
startRowHandle As Integer,
endRowHandle As Integer
)
| Name | Type | Description |
|---|---|---|
| startRowHandle | Int32 |
An integer value specifying the row handle at which the selection starts.
| | endRowHandle | Int32 |
An integer value specifying the row handle at which the selection ends.
|
The SelectRange method adds the specified range of nodes to the current selection. To clear the current selection before selection, call the DataControlBase.UnselectAll method.
The SelectRange method does nothing in the cases listed below:
See Also