windowsforms-devexpress-dot-xtraeditors-dot-rangecontrol-928b7a0d.md
Gets or sets whether the graduations and labels are displayed.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(true)]
[DXCategory("Appearance")]
public bool ShowLabels { get; set; }
<DefaultValue(True)>
<DXCategory("Appearance")>
Public Property ShowLabels As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if the graduations and labels are displayed; otherwise, false.
|
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