Occurs when a label within the current TrackBarControl needs to be displayed.
[DXCategory("Events")] public event EventHandler<CustomLabelEventArgs> CustomLabel
<DXCategory("Events")> Public Event CustomLabel As EventHandler(Of CustomLabelEventArgs)
The CustomLabel event's data class is DevExpress.XtraEditors.CustomLabelEventArgs.
You can handle the CustomLabel event and assign labels to a TrackBarControl's ticks. Labels can also be assigned to ticks automatically via the TrackBarControl's smart tag, and manually via the RepositoryItemTrackBar.Labels collection.
The CustomLabel event occurs as many times as there are ticks within a TrackBarControl. By default, this event is fired once on application start-up, before the TrackBarControl is displayed. You can manually raise the CustomLabel events sequence for all existing ticks at any time via the TrackBarControl.RefreshLabels method.