Back to Devexpress

RangeControl.ShowLabels Property

windowsforms-devexpress-dot-xtraeditors-dot-rangecontrol-928b7a0d.md

latest2.4 KB
Original Source

RangeControl.ShowLabels Property

Gets or sets whether the graduations and labels are displayed.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Appearance")]
public bool ShowLabels { get; set; }
vb
<DefaultValue(True)>
<DXCategory("Appearance")>
Public Property ShowLabels As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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.

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

Minimum

Maximum

SelectionType

Visual Elements

RangeControl Class

RangeControl Members

DevExpress.XtraEditors Namespace