RangeControl.SelectionType Property
Gets or sets whether the selection is performed via thumbs, flags or both.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
[DefaultValue(RangeControlSelectionType.Thumb)]
[DXCategory("Behavior")]
public virtual RangeControlSelectionType SelectionType { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DevExpress.XtraEditors.RangeControlSelectionType | Thumb | The RangeControlSelectionType value that specifies whether the selection is performed via thumbs, flags or both. |
Remarks
Using the SelectionType property, you can specify the mode in which an end-user selects a range of data with a mouse and whether flags indicating bound values are displayed. The RangeControlSelectionType provides you with the following values: Thumb, Flag, ThumbAndFlag.
Selection Type | Description |
---|---|
RangeControlSelectionType.Thumb | An end-user can select a range with a mouse by dragging thumbs displayed at the range bounds. |
RangeControlSelectionType.Flag | A range can be selected with a mouse by dragging the range bounds. Flags that indicate the minimum and maximum values are displayed at the range bounds. |
RangeControlSelectionType.ThumbAndFlag | This mode combines the two previous modes. |