Skip to main content

RangeControl.ShowLabels Property

Gets or sets whether the graduations and labels are displayed.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

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