ClassSchedulerTimeViewBase
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public abstract class SchedulerTimeViewBase : SchedulerViewBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseSchedulerViewBaseSchedulerTimeViewBase
Derived Classes:
Implements:
Inherited Members
Constructors
SchedulerTimeViewBase()
Declaration
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
[Parameter]
public DateTime EndTime { get; set; }
Property Value
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.
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.
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
[Parameter]
public DateTime StartTime { get; set; }
Property Value
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
[Parameter]
public DateTime WorkDayEnd { get; set; }
Property Value
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
[Parameter]
public DateTime WorkDayStart { get; set; }
Property Value