Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#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.

RangeControl_RangeSelectionMode.Thumbs

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.

RangeControl_RangeSelectionMode.Flag

RangeControlSelectionType.ThumbAndFlag

This mode combines the two previous modes.

RangeControl_RangeSelectionMode.ThumbsAndFlag

See Also