RadzenDayView Class

Displays the appointments in a single day in RadzenScheduler<T>

Inheritance

Object

ComponentBase

SchedulerViewBase

RadzenDayView

Implements

IComponent

IHandleEvent

IHandleAfterRender

ISchedulerView

Inherited Members

SchedulerViewBase.Localize

SchedulerViewBase.FormatTitle

SchedulerViewBase.IsFirstResourcePath

SchedulerViewBase.AppointmentsForResources

SchedulerViewBase.Dispose

SchedulerViewBase.OnAppointmentMove

SchedulerViewBase.TitleFormat

SchedulerViewBase.TitleFormatter

SchedulerViewBase.Scheduler

SchedulerViewBase.GroupByResource

SchedulerViewBase.GroupBy

SchedulerViewBase.GroupOrientation

SchedulerViewBase.ResourceTypes

SchedulerViewBase.ResourcePaths

SchedulerViewBase.HasResourceGroups

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 class RadzenDayView : SchedulerViewBase, IComponent, IHandleEvent, IHandleAfterRender, ISchedulerView

Examples

<RadzenScheduler Data="@appointments">
    <RadzenDayView />
</RadzenScheduler>

Constructors

RadzenDayViewLink to this section

Initializes a new instance of the RadzenDayView class.

Declaration
public RadzenDayView()

Properties

AllDayTextLink to this section

Gets or sets the text displayed in the header of the all-day row when the view groups appointments by resource. Set to All day by default.

Declaration
public string AllDayText { get; set; }
Property Value
Type Description
stringGets or sets the text displayed in the header of the all-day row when the view groups appointments by resource. Set to All day by default.

EndDateLink to this section

Declaration
public DateTime EndDate { get; }
Property Value
Type Description
DateTime

EndTimeLink to this section

Gets or sets the end time.

Declaration
public TimeSpan EndTime { get; set; }
Property Value
Type Description
TimeSpanGets or sets the end time.

IconLink to this section

Declaration
public string Icon { get; }
Property Value
Type Description
string

MinutesPerSlotLink to this section

Gets or sets slot size in minutes. Set to 30 by default.

Declaration
public int MinutesPerSlot { get; set; }
Property Value
Type Description
intGets or sets slot size in minutes. Set to 30 by default.

ShowAllDayLink to this section

Gets or sets a value indicating whether a dedicated all-day row is displayed when the view groups appointments by resource. Appointments which span the entire visible day are displayed in it instead of the time grid. Set to true by default.

Declaration
public bool ShowAllDay { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether a dedicated all-day row is displayed when the view groups appointments by resource. Appointments which span the entire visible day are displayed in it instead of the time grid. Set to true by default.

StartDateLink to this section

Declaration
public DateTime StartDate { get; }
Property Value
Type Description
DateTime

StartTimeLink to this section

Gets or sets the start time.

Declaration
public TimeSpan StartTime { get; set; }
Property Value
Type Description
TimeSpanGets or sets the start time.

TextLink to this section

Declaration
public string Text { get; set; }
Property Value
Type Description
string

TimeFormatLink to this section

Gets or sets the time format.

Declaration
public string TimeFormat { get; set; }
Property Value
Type Description
stringGets or sets the time format.

TitleLink to this section

Declaration
public string Title { get; }
Property Value
Type Description
string

Methods

BuildRenderTreeLink to this section

Declaration
protected override void BuildRenderTree(Rendering.RenderTreeBuilder __builder)
Parameters
Type Name Description
Rendering.RenderTreeBuilder __builder

NextLink to this section

Declaration
public override DateTime Next()
Returns
Type Description
DateTime

PrevLink to this section

Declaration
public override DateTime Prev()
Returns
Type Description
DateTime

RenderLink to this section

Declaration
public override 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 🗙