New to Telerik UI for WinForms? Start a free 30-day trial

Provides a tick element and its scale index to a tick-formatting handler.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class TickFormattingEventArgs : EventArgs

Inheritance: objectEventArgsTickFormattingEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes formatting data for a tick and its number on the scale.

C#
public TickFormattingEventArgs(TrackBarTickElement tickElement, int tickNumber)
Parameters:tickElementTrackBarTickElement

The tick element passed to the formatting handler.

tickNumberint

The number exposed through TickNumber.

Initializes formatting data for a tick whose number is not supplied.

C#
public TickFormattingEventArgs(TrackBarTickElement tickElement)
Parameters:tickElementTrackBarTickElement

The tick element passed to the formatting handler.

Properties

Gets the tick element being formatted. A handler can change its properties to customize the displayed tick.

C#
public virtual TrackBarTickElement TickElement { get; }

Gets the tick's zero-based number on the scale, or -1 when the number was not supplied.

C#
public int TickNumber { get; }