Supplies the initial text, label context, and time when the scheduler raises RulerTextFormatting.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
C#
public class RulerTextFormattingEventArgs : EventArgs
Inheritance: objectEventArgsRulerTextFormattingEventArgs
Inherited Members
Constructors
Initializes event data for a ruler label before the scheduler raises the formatting event.
C#
public RulerTextFormattingEventArgs(string text, RulerTextFormattingContext context, DateTime time)
The initial label text, which an event handler can replace through Text.
contextRulerTextFormattingContextIdentifies whether the label is for an hour, minute, or sub-hour section.
timeDateTimeThe date and time represented by the label.
Properties
Gets the context of the current operation.
C#
public RulerTextFormattingContext Context { get; }