DataControlBase.SelectRange(Int32, Int32) Method
In This Article
Selects multiple rows/cards/nodes, while preserving the current selection (if any).
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.Core.dll
NuGet Package: DevExpress.Wpf.Grid.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
start |
Int32 | An integer value specifying the row handle at which the selection starts. |
end |
Int32 | An integer value specifying the row handle at which the selection ends. |
#Remarks
The SelectRange method adds the specified range of data rows/cards to the current selection. To clear the current selection before selecting, call the DataControlBase.UnselectAll method.
The SelectRange method does nothing in the cases listed below:
- Multiple row selection isn’t allowed.
- The specified row handles are invalid.
- The specified row handles point to hidden rows/cards that reside within collapsed groups.
See Also