New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public abstract class RulerRendererBase

Inheritance: objectRulerRendererBase

Derived Classes: RulerRenderer

Constructors

C#
public RulerRendererBase(RulerPrimitive ruler)
Parameters:rulerRulerPrimitive

Fields

C#
protected bool isDrawn
C#
protected RulerPrimitive ruler

Methods

C#
protected void DrawCurrentTimePointer(IGraphics graphics, float y, DateTime currentTime)
Parameters:graphicsIGraphicsyfloatcurrentTimeDateTime
C#
protected Size DrawTimeText(IGraphics graphics, float y, string text, string minutesText, Size measuredSize)
Parameters:graphicsIGraphicsyfloattextstringminutesTextstringmeasuredSizeSizeReturns:

Size

C#
public RectangleF GetHourBounds(int hour)
Parameters:hourintReturns:

RectangleF

C#
protected int GetSpecificRange()
Returns:

int

C#
public virtual void Render(IGraphics graphics)
Parameters:graphicsIGraphics
C#
public virtual void RenderCurrentTimePointer(IGraphics graphics, float y)
Parameters:graphicsIGraphicsyfloat
C#
public abstract void RenderHour(IGraphics graphics, int hour, RectangleF bounds)
Parameters:graphicsIGraphicshourintboundsRectangleF
C#
public abstract void RenderSubHour(IGraphics graphics, int hour, int sectionIndex, RectangleF bounds)
Parameters:graphicsIGraphicshourintsectionIndexintboundsRectangleF