RulerRenderer
Draws ruler labels, interval lines, and the current-time marker using the ruler's configured styles.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class RulerRenderer : RulerRendererBase
Inheritance: objectRulerRendererBaseRulerRenderer
Inherited Members
Constructors
Initializes the default renderer for the specified ruler.
public RulerRenderer(RulerPrimitive ruler)
The ruler whose settings determine the scale, labels, and appearance.
Methods
Formats and draws an hour label, its minute label, and the hour separator line.
public override void RenderHour(IGraphics g, int hour, RectangleF bounds)
The graphics context used to draw the ruler.
hourintThe hour index supplied by the base renderer.
boundsRectangleFThe bounds of the corresponding ruler row.
Overrides:
Formats and draws the labels and separator line for a sub-hour interval.
public override void RenderSubHour(IGraphics g, int hour, int sectionIndex, RectangleF bounds)
The graphics context used to draw the ruler.
hourintThe hour index containing the interval.
sectionIndexintThe sub-hour interval's index within the hour.
boundsRectangleFThe bounds of the corresponding ruler row.
Overrides: