Class SchedulerViewBase
A base class for RadzenScheduler<TItem> views.
Inheritance
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public abstract class SchedulerViewBase : ComponentBase, ISchedulerView, IDisposable
Properties
EndDate
Gets the end date.
Declaration
public abstract DateTime EndDate { get; }
Property Value
Type | Description |
---|---|
DateTime | The end date. |
Icon
Gets the icon of the view. It is displayed in the view switching UI.
Declaration
public abstract string Icon { get; }
Property Value
Type | Description |
---|---|
System.String |
Scheduler
Gets or sets the scheduler instance.
Declaration
public IScheduler Scheduler { get; set; }
Property Value
Type | Description |
---|---|
IScheduler | The scheduler. |
StartDate
Gets the start date.
Declaration
public abstract DateTime StartDate { get; }
Property Value
Type | Description |
---|---|
DateTime | The start date. |
Text
Gets the text of the view. It is displayed in the view switching UI.
Declaration
public abstract string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text. |
Title
Gets the title of the view. It is displayed in the RadzenScheduler title area.
Declaration
public abstract string Title { get; }
Property Value
Type | Description |
---|---|
System.String | The title. |
Methods
Dispose()
Disposes this instance.
Declaration
public void Dispose()
Next()
Returns a new date when the user clicks the next button of RadzenScheduler.
Declaration
public abstract DateTime Next()
Returns
Type | Description |
---|---|
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.
Declaration
public async Task OnAppointmentMove(SchedulerAppointmentMoveEventArgs data)
Parameters
Type | Name | Description |
---|---|---|
SchedulerAppointmentMoveEventArgs | data |
Returns
Type | Description |
---|---|
Task |
Prev()
Returns a new date when the user clicks the previous button of RadzenScheduler.
Declaration
public abstract DateTime Prev()
Returns
Type | Description |
---|---|
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.
Declaration
public abstract RenderFragment Render()
Returns
Type | Description |
---|---|
RenderFragment |
SetParametersAsync(ParameterView)
Called by the Blazor runtime when parameters are set.
Declaration
public override async Task SetParametersAsync(ParameterView parameters)
Parameters
Type | Name | Description |
---|---|---|
ParameterView | parameters | The parameters. |
Returns
Type | Description |
---|---|
Task |