Class RadzenYearView
Displays the appointments in a month day in RadzenScheduler<TItem>
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenYearView : SchedulerViewBase, ISchedulerView, IDisposable
Examples
<RadzenScheduler Data="@appointments">
<RadzenMonthView />
</RadzenScheduler>
Properties
EndDate
Gets the end date.
Declaration
public override DateTime EndDate { get; }
Property Value
Type | Description |
---|---|
DateTime | The end date. |
Overrides
Icon
Gets the icon of the view. It is displayed in the view switching UI.
Declaration
public override string Icon { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
MoreText
Specifies the text displayed when there are more appointments in a slot than MaxAppointmentsInSlot.
Declaration
public string MoreText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The more text. Set to |
NoDayEventsText
Specifies the text displayed when the user clicks on a day with no events in the year view
Declaration
public string NoDayEventsText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
StartDate
Gets the start date.
Declaration
public override DateTime StartDate { get; }
Property Value
Type | Description |
---|---|
DateTime | The start date. |
Overrides
StartMonth
Gets or sets the start month for the year views />.
Declaration
public Month StartMonth { get; set; }
Property Value
Type | Description |
---|---|
Month | The start month. |
Text
Gets the text of the view. It is displayed in the view switching UI.
Declaration
public override string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text. |
Overrides
Title
Gets the title of the view. It is displayed in the RadzenScheduler title area.
Declaration
public override string Title { get; }
Property Value
Type | Description |
---|---|
System.String | The title. |
Overrides
Methods
Next()
Returns a new date when the user clicks the next button of RadzenScheduler.
Declaration
public override 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. |
Overrides
Prev()
Returns a new date when the user clicks the previous button of RadzenScheduler.
Declaration
public override 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. |