IRangeControlClient.SetSelectionRange(Object, Object, Size, Boolean) Method
In This Article
Specifies the selected range.
Namespace: DevExpress.Xpf.Editors.RangeControl
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
bool SetSelectionRange(
object selectionStart,
object selectionEnd,
Size viewportSize,
bool isSnapped = true
)
#Parameters
Name | Type | Description |
---|---|---|
selection |
Object | The start bound of a selection range. |
selection |
Object | The start bound of a selection range. |
viewport |
Size | The viewport size. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
is |
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