IRangeControlClient.SetSelectionRange(Object, Object, Size, Boolean) Method
Specifies the bounds of the selected range.
Namespace: DevExpress.UI.Xaml.Controls
Assembly: DevExpress.UI.Xaml.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
Declaration
bool SetSelectionRange(
object selectedMinimum,
object selectedMaximum,
Size viewportSize,
bool isSnapped = true
)
Parameters
| Name | Type | Description |
|---|---|---|
| selectedMinimum | Object | The start bound of a selected range. |
| selectedMaximum | Object | The end bound of a selected range. |
| viewportSize | Size | The object that specifies the viewport size. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| isSnapped | Boolean | True | true to snap the selection to the bounds of the range items, false. |
Returns
| Type | Description |
|---|---|
| Boolean | true, if the specified range is correct; otherwise, false. |
See Also