Class
SchedulerCurrentTimeIndicator

Represents the current time indicator visualized in the MultidayViewDefinition. This control displays a visual line that moves across the scheduler view to indicate the current time, helping users quickly identify the present moment within the displayed time range. The indicator includes a circular marker for today's column and a horizontal line spanning the time period.

Definition

Namespace:Telerik.Maui.Controls.Scheduler

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class SchedulerCurrentTimeIndicator : GraphicsView

Inheritance: objectSchedulerCurrentTimeIndicator

Constructors

SchedulerCurrentTimeIndicator()

Initializes a new instance of the SchedulerCurrentTimeIndicator class.

Declaration

cs-api-definition
public SchedulerCurrentTimeIndicator()

Fields

ColorProperty

Identifies the Color bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty ColorProperty

Field Value

BindableProperty

LineThicknessProperty

Identifies the LineThickness bindable property.

Declaration

cs-api-definition
public static readonly BindableProperty LineThicknessProperty

Field Value

BindableProperty

Properties

Color

Gets or sets the color of the current time indicator. This property controls the visual appearance of both the circular marker and the horizontal line, allowing customization to match application themes or provide high visibility.

Declaration

cs-api-definition
public Color Color { get; set; }

Property Value

Color

LineThickness

Gets or sets the line thickness of the current time indicator. This property controls the visual weight of the horizontal line component, affecting visibility and emphasis of the current time position.

Declaration

cs-api-definition
public double LineThickness { get; set; }

Property Value

double

Methods

Draw(ICanvas, RectF)

Declaration

cs-api-definition
public void Draw(ICanvas canvas, RectF dirtyRect)

Parameters

canvas

ICanvas

dirtyRect

RectF