SchedulerViewBase Class

A base class for RadzenScheduler<T> views.

Implements

IComponent

IHandleEvent

IHandleAfterRender

ISchedulerView

Inherited Members

ComponentBase.BuildRenderTree

ComponentBase.OnInitialized

ComponentBase.OnInitializedAsync

ComponentBase.OnParametersSet

ComponentBase.OnParametersSetAsync

ComponentBase.StateHasChanged

ComponentBase.ShouldRender

ComponentBase.OnAfterRender

ComponentBase.OnAfterRenderAsync

ComponentBase.InvokeAsync

ComponentBase.DispatchExceptionAsync

ComponentBase.RendererInfo

ComponentBase.Assets

ComponentBase.AssignedRenderMode

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public abstract class SchedulerViewBase : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, ISchedulerView

Constructors

SchedulerViewBaselink

A base class for RadzenScheduler<T> views.

Declaration
protected SchedulerViewBase()

Properties

EndDatelink

Gets the end date.

Declaration
public DateTime EndDate { get; }
Property Value
Type Description
DateTimeGets the end date.

Iconlink

Gets the icon of the view. It is displayed in the view switching UI.

Declaration
public string Icon { get; }
Property Value
Type Description
stringGets the icon of the view. It is displayed in the view switching UI.

Schedulerlink

Gets or sets the scheduler instance.

Declaration
public IScheduler Scheduler { get; set; }
Property Value
Type Description
ISchedulerGets or sets the scheduler instance.

StartDatelink

Gets the start date.

Declaration
public DateTime StartDate { get; }
Property Value
Type Description
DateTimeGets the start date.

Textlink

Gets the text of the view. It is displayed in the view switching UI.

Declaration
public string Text { get; set; }
Property Value
Type Description
stringGets the text of the view. It is displayed in the view switching UI.

Titlelink

Gets the title of the view. It is displayed in the RadzenScheduler title area.

Declaration
public string Title { get; }
Property Value
Type Description
stringGets the title of the view. It is displayed in the RadzenScheduler title area.

Methods

Disposelink

Disposes this instance.

Declaration
public void Dispose()

Nextlink

Returns a new date when the user clicks the next button of RadzenScheduler.

Declaration
public abstract DateTime Next()
Returns
Type Description
DateTimeThe next date. For example a day view will return the next day, a week view will return the next week.

OnAppointmentMovelink

Handles appointent move event.

Declaration
public Task OnAppointmentMove(SchedulerAppointmentMoveEventArgs data)
Parameters
Type Name Description
SchedulerAppointmentMoveEventArgs data
Returns
Type Description
Task

Prevlink

Returns a new date when the user clicks the previous button of RadzenScheduler.

Declaration
public abstract DateTime Prev()
Returns
Type Description
DateTimeThe previous date. For example a day view will return the previous day, a week view will return the previous week.

Renderlink

Renders this instance.

Declaration
public abstract RenderFragment Render()
Returns
Type Description
RenderFragment

SetParametersAsynclink

Called by the Blazor runtime when parameters are set.

Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Type Name Description
ParameterView parameters The parameters.
Returns
Type Description
Task
An error has occurred. This app may no longer respond until reloaded. Reload 🗙