Skip to main content
A newer version of this page is available. .

RangeControl.SelectedRange Property

Gets or sets the selected range.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[Browsable(false)]
public RangeControlRange SelectedRange { get; set; }

Property Value

Type Description
RangeControlRange

A RangeControlRange object that specifies the selected range’s bounds.

Remarks

You can use this property to obtain the range selected by an end-user. This property can also be set in code to change the current selected range.

While setting a range, note that the RangeControlRange.Maximum value must be greater than or equal to the current RangeControlRange.Minimum value.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectedRange property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also