Skip to main content
A newer version of this page is available. .

RangeControl.ShowLabels Property

Gets or sets whether the graduations and labels are displayed.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

[DefaultValue(true)]
[SmartTagProperty("Show Labels", "")]
[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