Class SchedulerYearViewBase
A base class for RadzenScheduler<TItem> views.
Inheritance
SchedulerYearViewBase
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public abstract class SchedulerYearViewBase : SchedulerViewBase, IComponent, IHandleEvent, IHandleAfterRender, ISchedulerView, IDisposable
Constructors
SchedulerYearViewBase()
A base class for RadzenScheduler<TItem> views.
Declaration
protected SchedulerYearViewBase()
Properties
StartMonth
Gets the StartMonth of the view.
Declaration
public abstract Month StartMonth { get; set; }
Property Value
| Type | Description |
|---|---|
| Month | The start month. |
Methods
GetYearRange()
Returns the logical year start (first day of StartMonth) and the computed view start/end range.
Declaration
protected (DateTime yearStart, DateTime viewStart, DateTime viewEnd) GetYearRange()
Returns
| Type | Description |
|---|---|
| (DateTime yearStart, DateTime viewStart, DateTime viewEnd) |
Remarks
Year views render whole weeks. The view StartDate is the start of the week containing the year start,
and the view EndDate is the end of the week containing the last day of the year range.
SetParametersAsync(ParameterView)
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 |