Class RadzenDayView
Displays the appointments in a single day in RadzenScheduler<TItem>
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenDayView : SchedulerViewBase, ISchedulerView, IDisposable
Examples
<RadzenScheduler Data="@appointments">
<RadzenDayView />
</RadzenScheduler>
Properties
EndDate
Gets the end date.
Declaration
public override DateTime EndDate { get; }
Property Value
Type | Description |
---|---|
DateTime | The end date. |
Overrides
EndTime
Gets or sets the end time.
Declaration
public TimeSpan EndTime { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan | The end time. |
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
MinutesPerSlot
Gets or sets slot size in minutes. Set to 30
by default.
Declaration
public int MinutesPerSlot { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The slot size in minutes. |
StartDate
Gets the start date.
Declaration
public override DateTime StartDate { get; }
Property Value
Type | Description |
---|---|
DateTime | The start date. |
Overrides
StartTime
Gets or sets the start time.
Declaration
public TimeSpan StartTime { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan | The start time. |
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
TimeFormat
Gets or sets the time format.
Declaration
public string TimeFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String | The time format. Set to |
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. |