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.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

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.

See Also