The common RadzenScheduler<T> API injected as a cascading parameter to is views.
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public interface ISchedulerGets or sets the appointment move event callback.
public EventCallback<SchedulerAppointmentMoveEventArgs> AppointmentMove { get; set; }
| Type | Description |
|---|---|
| EventCallback<SchedulerAppointmentMoveEventArgs> | Gets or sets the appointment move event callback. |
Gets or sets the appointment resize event callback.
public EventCallback<SchedulerAppointmentResizeEventArgs> AppointmentResize { get; set; }
| Type | Description |
|---|---|
| EventCallback<SchedulerAppointmentResizeEventArgs> | Gets or sets the appointment resize event callback. |
Gets or sets the culture.
public Globalization.CultureInfo Culture { get; set; }
| Type | Description |
|---|---|
| Globalization.CultureInfo | Gets or sets the culture. |
Gets or sets the current date.
public DateTime CurrentDate { get; set; }
| Type | Description |
|---|---|
| DateTime | Gets or sets the current date. |
Gets the height.
public double Height { get; }
| Type | Description |
|---|---|
| double | Gets the height. |
Gets the resource types of the scheduler in order of declaration. Views use them when grouping appointments by resource.
public IList<RadzenSchedulerResource> Resources { get; }
| Type | Description |
|---|---|
| IList<RadzenSchedulerResource> | Gets the resource types of the scheduler in order of declaration. Views use them when grouping appointments by resource. |
Gets the UI culture used for localized strings. Defaults to Culture.
public Globalization.CultureInfo UICulture { get; }
| Type | Description |
|---|---|
| Globalization.CultureInfo | Gets the UI culture used for localized strings. Defaults to Culture. |
Adds a resource type. Called when a RadzenSchedulerResource is initialized.
public virtual Task AddResource(RadzenSchedulerResource resource)
| Type | Name | Description |
|---|---|---|
| RadzenSchedulerResource | resource | The resource type to add. |
| Type | Description |
|---|---|
| Task |
Adds a view. Must be called when a ISchedulerView is initialized.
public abstract Task AddView(ISchedulerView view)
| Type | Name | Description |
|---|---|---|
| ISchedulerView | view | The view to add. |
| Type | Description |
|---|---|
| Task |
Gets the appointment HTML attributes.
public abstract IDictionary<string, object> GetAppointmentAttributes(AppointmentData item)
| Type | Name | Description |
|---|---|---|
| AppointmentData | item | The appointment. |
| Type | Description |
|---|---|
| IDictionary<string, object> | A dictionary containing the HTML attributes for the specified appointment. |
Gets the appointments in the specified range.
public abstract IEnumerable<AppointmentData> GetAppointmentsInRange(DateTime start, DateTime end)
| Type | Name | Description |
|---|---|---|
| DateTime | start | The start of the range. |
| DateTime | end | The end of the range. |
| Type | Description |
|---|---|
| IEnumerable<AppointmentData> | A collection of appointments within the specified range. |
Gets the slot HTML attributes.
public abstract IDictionary<string, object> GetSlotAttributes(DateTime start, DateTime end, Func<IEnumerable<AppointmentData>> getAppointments)
| Type | Name | Description |
|---|---|---|
| DateTime | start | The start of the slot. |
| DateTime | end | The end of the slot. |
| Func<IEnumerable<AppointmentData>> | getAppointments | Function to return appointments for this range. |
| Type | Description |
|---|---|
| IDictionary<string, object> | A dictionary containing the HTML attributes for the specified slot. |
Gets the slot HTML attributes.
public virtual IDictionary<string, object> GetSlotAttributes(DateTime start, DateTime end, Func<IEnumerable<AppointmentData>> getAppointments, IDictionary<string, object> resources)
| Type | Name | Description |
|---|---|---|
| DateTime | start | The start of the slot. |
| DateTime | end | The end of the slot. |
| Func<IEnumerable<AppointmentData>> | getAppointments | Function to return appointments for this range. |
| IDictionary<string, object> | resources |
| Type | Description |
|---|---|
| IDictionary<string, object> | A dictionary containing the HTML attributes for the specified slot. |
Returns true if the scheduler has an AppointmentMove listener.
public abstract bool HasAppointmentMoveDelegate()
| Type | Description |
|---|---|
| bool |
Returns true if the scheduler has an AppointmentResize listener.
public virtual bool HasAppointmentResizeDelegate()
| Type | Description |
|---|---|
| bool |
Returns true if the scheduler has a mouse enter appointment listener.
public abstract bool HasMouseEnterAppointmentDelegate()
| Type | Description |
|---|---|
| bool |
Determines whether an appointment is within the specified range.
public abstract bool IsAppointmentInRange(AppointmentData item, DateTime start, DateTime end)
| Type | Name | Description |
|---|---|---|
| AppointmentData | item | The appointment to check. |
| DateTime | start | The start of the range. |
| DateTime | end | The end of the range. |
| Type | Description |
|---|---|
| bool | true if the appointment is within the specified range; otherwise, false. |
Determines whether the specified view is selected.
public abstract bool IsSelected(ISchedulerView view)
| Type | Name | Description |
|---|---|---|
| ISchedulerView | view | The view. |
| Type | Description |
|---|---|
| bool | true if the specified view is selected; otherwise, false. |
Notifies the scheduler that the user has moved the mouse over the specified appointment.
public abstract Task MouseEnterAppointment(ElementReference reference, AppointmentData data)
| Type | Name | Description |
|---|---|---|
| ElementReference | reference | |
| AppointmentData | data |
| Type | Description |
|---|---|
| Task |
Notifies the scheduler that the user has moved the mouse over the specified appointment.
public virtual Task MouseEnterAppointment(ElementReference reference, AppointmentData data, double clientX, double clientY)
| Type | Name | Description |
|---|---|---|
| ElementReference | reference | |
| AppointmentData | data | |
| double | clientX | |
| double | clientY |
| Type | Description |
|---|---|
| Task |
Notifies the scheduler that the user has moved the mouse out of the specified appointment.
public abstract Task MouseLeaveAppointment(ElementReference reference, AppointmentData data)
| Type | Name | Description |
|---|---|---|
| ElementReference | reference | |
| AppointmentData | data |
| Type | Description |
|---|---|
| Task |
Notifies the scheduler that the user has moved the mouse out of the specified appointment.
public virtual Task MouseLeaveAppointment(ElementReference reference, AppointmentData data, double clientX, double clientY)
| Type | Name | Description |
|---|---|---|
| ElementReference | reference | |
| AppointmentData | data | |
| double | clientX | |
| double | clientY |
| Type | Description |
|---|---|
| Task |
Reloads this instance.
public abstract Task Reload()
| Type | Description |
|---|---|
| Task |
Removes a resource type. Called when a RadzenSchedulerResource is disposed.
public virtual void RemoveResource(RadzenSchedulerResource resource)
| Type | Name | Description |
|---|---|---|
| RadzenSchedulerResource | resource | The resource type to remove. |
Removes a view. Must be called when a ISchedulerView is disposed.
public abstract void RemoveView(ISchedulerView view)
| Type | Name | Description |
|---|---|---|
| ISchedulerView | view | The view to remove. |
Renders the appointment.
public abstract RenderFragment RenderAppointment(AppointmentData item)
| Type | Name | Description |
|---|---|---|
| AppointmentData | item | The item. |
| Type | Description |
|---|---|
| RenderFragment | RenderFragment. |
Selects the specified appointment.
public abstract Task SelectAppointment(AppointmentData data)
| Type | Name | Description |
|---|---|---|
| AppointmentData | data | The appointment to select. |
| Type | Description |
|---|---|
| Task |
Selects the specified day.
public abstract Task SelectDay(DateTime day, IEnumerable<AppointmentData> appointments)
| Type | Name | Description |
|---|---|---|
| DateTime | day | The selected day. |
| IEnumerable<AppointmentData> | appointments | The appointments for this range. |
| Type | Description |
|---|---|
| Task |
Selects the specified month.
public abstract Task SelectMonth(DateTime monthStart, IEnumerable<AppointmentData> appointments)
| Type | Name | Description |
|---|---|---|
| DateTime | monthStart | The start of the month. |
| IEnumerable<AppointmentData> | appointments | The appointments for this range. |
| Type | Description |
|---|---|
| Task |
Selects the specified more link.
public abstract Task<bool> SelectMore(DateTime start, DateTime end, IEnumerable<AppointmentData> appointments)
| Type | Name | Description |
|---|---|---|
| DateTime | start | The start. |
| DateTime | end | The end. |
| IEnumerable<AppointmentData> | appointments | The appointments for this range. |
| Type | Description |
|---|---|
| Task<bool> |
Selects the specified slot.
public abstract Task SelectSlot(DateTime start, DateTime end)
| Type | Name | Description |
|---|---|---|
| DateTime | start | The start. |
| DateTime | end | The end. |
| Type | Description |
|---|---|
| Task |
Selects the specified slot.
public abstract Task<bool> SelectSlot(DateTime start, DateTime end, IEnumerable<AppointmentData> appointments)
| Type | Name | Description |
|---|---|---|
| DateTime | start | The start. |
| DateTime | end | The end. |
| IEnumerable<AppointmentData> | appointments |
| Type | Description |
|---|---|
| Task<bool> |
Selects the specified slot.
public virtual Task<bool> SelectSlot(DateTime start, DateTime end, IEnumerable<AppointmentData> appointments, IDictionary<string, object> resources)
| Type | Name | Description |
|---|---|---|
| DateTime | start | The start. |
| DateTime | end | The end. |
| IEnumerable<AppointmentData> | appointments | |
| IDictionary<string, object> | resources |
| Type | Description |
|---|---|
| Task<bool> |