IRangeControlClient.SetSelectionRange(Object, Object, Size, Boolean) Method
Specifies the selected range.
Namespace: DevExpress.Xpf.Editors.RangeControl
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
bool SetSelectionRange(
object selectionStart,
object selectionEnd,
Size viewportSize,
bool isSnapped = true
)
Parameters
Name | Type | Description |
---|---|---|
selectionStart | Object | The start bound of a selection range. |
selectionEnd | Object | The start bound of a selection range. |
viewportSize | Size | The viewport size. |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
isSnapped | Boolean | True | true, to snap the range bounds to the bounds of range items; otherwise, false. |
Returns
Type | Description |
---|---|
Boolean | true, if the specified range boundaries are valid; otherwise, false. |
See Also