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 to this section

A base class for RadzenScheduler<T> views.

Declaration
protected SchedulerViewBase()

Properties

EndDateLink to this section

Gets the end date.

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

IconLink to this section

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 to this section

Gets or sets the scheduler instance.

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

StartDateLink to this section

Gets the start date.

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

TextLink to this section

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 to this section

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 to this section

Disposes this instance.

Declaration
public void Dispose()

LocalizeLink to this section

Gets a localized string for the specified resource key.

Declaration
public string Localize(string key)
Parameters
Type Name Description
string key
Returns
Type Description
string

NextLink to this section

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 to this section

Handles appointent move event.

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

PrevLink to this section

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 to this section

Renders this instance.

Declaration
public abstract RenderFragment Render()
Returns
Type Description
RenderFragment

SetParametersAsyncLink to this section

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 🗙