Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RepositoryItemTrackBar.ShowLabelsForHiddenTicks Property

Gets or sets whether hidden ticks should display their labels.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
public virtual bool ShowLabelsForHiddenTicks { get; set; }

#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