New to Telerik UI for .NET MAUIStart a free 30-day trial

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:

C#
public class SchedulerCurrentTimeIndicator : GraphicsView

Inheritance: objectSchedulerCurrentTimeIndicator

Constructors

Initializes a new instance of the SchedulerCurrentTimeIndicator class.

C#
public SchedulerCurrentTimeIndicator()

Fields

ColorProperty

BindableProperty

Identifies the Color bindable property.

C#
public static readonly BindableProperty ColorProperty

LineThicknessProperty

BindableProperty

Identifies the LineThickness bindable property.

C#
public static readonly BindableProperty LineThicknessProperty

Properties

Color

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.

C#
public Color Color { get; set; }

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.

C#
public double LineThickness { get; set; }

Methods

C#
public void Draw(ICanvas canvas, RectF dirtyRect)
Parameters:canvasICanvasdirtyRectRectF