Class
SchedulerTimeViewBase

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public abstract class SchedulerTimeViewBase : SchedulerViewBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseSchedulerViewBaseSchedulerTimeViewBase

Derived Classes: SchedulerDayViewBaseSchedulerTimelineView

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members SchedulerViewBase.OnInitialized()SchedulerViewBase.Dispose()SchedulerViewBase.ItemTemplateSchedulerViewBase.SlotTemplateSchedulerViewBase.SchedulerResourceGroupHeaderTemplateComponentBase.BuildRenderTree(RenderTreeBuilder)ComponentBase.OnInitializedAsync()ComponentBase.OnParametersSet()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRender(bool)ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)

Constructors

SchedulerTimeViewBase()

Declaration

cs-api-definition
protected SchedulerTimeViewBase()

Properties

EndTime

Sets the latest time displayed in time-based views (Day, Week, MultiDay, Timeline). Uses only the time portion of the DateTime value. Example: new DateTime(2000, 1, 1, 18, 0, 0) shows times ending at 6:00 PM. Must be later than StartTime to ensure proper time range display.

Declaration

cs-api-definition
[Parameter]
public DateTime EndTime { get; set; }

Property Value

DateTime

SlotDivisions

Controls how many sub-divisions appear within each major time slot. For example, with SlotDuration of 60 minutes and SlotDivisions of 4, creates 15-minute intervals. Provides finer appointment positioning without changing the major time labels.

Declaration

cs-api-definition
[Parameter]
public int SlotDivisions { get; set; }

Property Value

int

SlotDuration

Sets the duration of each time slot displayed in the view. Determines how many minutes each major time division represents. Common values are 30 (half-hour) or 60 (full hour). Smaller values provide more granular scheduling but may impact performance with many slots.

Declaration

cs-api-definition
[Parameter]
public int SlotDuration { get; set; }

Property Value

int

StartTime

Sets the earliest time displayed in time-based views (Day, Week, MultiDay, Timeline). Uses only the time portion of the DateTime value. Example: new DateTime(2000, 1, 1, 8, 0, 0) shows times starting from 8:00 AM. Must be earlier than EndTime to ensure proper time range display.

Declaration

cs-api-definition
[Parameter]
public DateTime StartTime { get; set; }

Property Value

DateTime

WorkDayEnd

Sets when working hours end during each day displayed in the view. Working hours receive different background styling to distinguish them from non-working time. Uses only the time portion of the DateTime value. Example: new DateTime(2000, 1, 1, 17, 0, 0) for 5:00 PM end. Must be later than WorkDayStart to ensure proper work hours display.

Declaration

cs-api-definition
[Parameter]
public DateTime WorkDayEnd { get; set; }

Property Value

DateTime

WorkDayStart

Sets when working hours begin during each day displayed in the view. Working hours receive different background styling to distinguish them from non-working time. Uses only the time portion of the DateTime value. Example: new DateTime(2000, 1, 1, 9, 0, 0) for 9:00 AM start. Must be earlier than WorkDayEnd to ensure proper work hours display.

Declaration

cs-api-definition
[Parameter]
public DateTime WorkDayStart { get; set; }

Property Value

DateTime

Methods

OnParametersSetAsync()

Declaration

cs-api-definition
protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()