Class SchedulerViewBase
A base class for RadzenScheduler<TItem> views.
public abstract class SchedulerViewBase : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, ISchedulerView, IDisposable
- Inheritance
-
SchedulerViewBase
- Implements
- Derived
- Inherited Members
Constructors
SchedulerViewBase()
protected SchedulerViewBase()
Properties
EndDate
Gets the end date.
public abstract DateTime EndDate { get; }
Property Value
- DateTime
The end date.
Icon
Gets the icon of the view. It is displayed in the view switching UI.
public abstract string Icon { get; }
Property Value
Scheduler
Gets or sets the scheduler instance.
[CascadingParameter]
public IScheduler Scheduler { get; set; }
Property Value
- IScheduler
The scheduler.
StartDate
Gets the start date.
public abstract DateTime StartDate { get; }
Property Value
- DateTime
The start date.
Text
Gets the text of the view. It is displayed in the view switching UI.
public abstract string Text { get; set; }
Property Value
- string
The text.
Title
Gets the title of the view. It is displayed in the RadzenScheduler title area.
public abstract string Title { get; }
Property Value
- string
The title.
Methods
Dispose()
Disposes this instance.
public void Dispose()
Next()
Returns a new date when the user clicks the next button of RadzenScheduler.
public abstract DateTime Next()
Returns
- DateTime
The next date. For example a day view will return the next day, a week view will return the next week.
OnAppointmentMove(SchedulerAppointmentMoveEventArgs)
Handles appointent move event.
public Task OnAppointmentMove(SchedulerAppointmentMoveEventArgs data)
Parameters
Returns
Prev()
Returns a new date when the user clicks the previous button of RadzenScheduler.
public abstract DateTime Prev()
Returns
- DateTime
The previous date. For example a day view will return the previous day, a week view will return the previous week.
Render()
Renders this instance.
public abstract RenderFragment Render()
Returns
SetParametersAsync(ParameterView)
Called by the Blazor runtime when parameters are set.
public override Task SetParametersAsync(ParameterView parameters)
Parameters
parameters
ParameterViewThe parameters.