Interface ISchedulerView
Interface that has to be implemented by a view in order to by supported by RadzenScheduler<TItem>.
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public interface ISchedulerView
Properties
EndDate
Gets the end date.
Declaration
DateTime EndDate { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Icon
Gets the icon of the view. It is displayed in the view switching UI.
Declaration
string Icon { get; }
Property Value
| Type | Description |
|---|---|
| string |
StartDate
Gets the start date.
Declaration
DateTime StartDate { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Text
Gets the text of the view. It is displayed in the view switching UI.
Declaration
string Text { get; }
Property Value
| Type | Description |
|---|---|
| string | The text. |
Title
Gets the title of the view. It is displayed in the RadzenScheduler title area.
Declaration
string Title { get; }
Property Value
| Type | Description |
|---|---|
| string | The title. |
Methods
Next()
Returns a new date when the user clicks the next button of RadzenScheduler.
Declaration
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
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
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
RenderFragment Render()
Returns
| Type | Description |
|---|---|
| RenderFragment | RenderFragment. |