Back to Devexpress

RangeControl.SelectedRange Property

windowsforms-devexpress-dot-xtraeditors-dot-rangecontrol-7f4f5dd5.md

latest1.9 KB
Original Source

RangeControl.SelectedRange Property

Gets or sets the selected range.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public RangeControlRange SelectedRange { get; set; }
vb
<Browsable(False)>
Public Property SelectedRange As RangeControlRange

Property Value

TypeDescription
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

RangeChanged

AllowSelection

SelectionType

SelectAll()

RangeControl Class

RangeControl Members

DevExpress.XtraEditors Namespace