RepositoryItemTrackBar.ShowLabelsForHiddenTicks Property

Gets or sets whether hidden ticks should display their labels.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
public virtual bool ShowLabelsForHiddenTicks { get; set; }
<DefaultValue(False)>
<DXCategory("Behavior")>
Public Overridable Property ShowLabelsForHiddenTicks As Boolean

Property Value

Type Default Description
Boolean

false

true if hidden ticks should display their labels; otherwise, false.

Remarks

Every tick within a TrackBarControl has its label, stored in the RepositoryItemTrackBar.Labels collection. Their global visibility is specified via the RepositoryItemTrackBar.ShowLabels property. Additionally, you can set whether those ticks which are invisible due to the RepositoryItemTrackBar.TickFrequency property value, should display their labels via the ShowLabelsForHiddenTicks property.

The figure below demonstrates the example. Ticks 4 and 5 are not displayed, but their corresponding labels are visible.

TrackBarControl - ShowLabelsForHiddenTicks

See Also