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.ShowLabels Property

Gets or sets whether the graduations and labels are displayed.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

#Declaration

[DefaultValue(true)]
[DXCategory("Appearance")]
public bool ShowLabels { get; set; }

#Property Value

Type Default Description
Boolean true

true if the graduations and labels are displayed; otherwise, false.

#Remarks

Use the ShowLabels property to hide the graduations and labels, which are visible by default. The following images demonstrate the same RangeControl displayed with and without the graduations.

RangeControl_RangeSelectionMode.ThumbsAndFlag

RangeControl_RangeSelectionMode.ThumbsAndFlagNoScale

You can set the RangeControl.SelectionType property to RangeControlSelectionType.Flag or RangeControlSelectionType.ThumbAndFlag to indicate to an end-user the maximum and minimum values of the selected range while the scale is hidden.

See Also