Adds a view. Must be called when a ISchedulerView is initialized.
Declaration
public abstract Task AddView(ISchedulerView view)
Parameters
Returns
GetAppointmentAttributeslink
Gets the appointment HTML attributes.
Declaration
public abstract IDictionary<string, object> GetAppointmentAttributes(AppointmentData item)
Parameters
Returns
GetAppointmentsInRangelink
Gets the appointments in the specified range.
Declaration
public abstract IEnumerable<AppointmentData> GetAppointmentsInRange(DateTime start, DateTime end)
Parameters
Returns
GetSlotAttributeslink
Gets the slot HTML attributes.
Declaration
public abstract IDictionary<string, object> GetSlotAttributes(DateTime start, DateTime end, Func<IEnumerable<AppointmentData>> getAppointments)
Parameters
Returns
HasAppointmentMoveDelegatelink
Returns true if the scheduler has an AppointmentMove listener.
Declaration
public abstract bool HasAppointmentMoveDelegate()
Returns
HasMouseEnterAppointmentDelegatelink
Returns true if the scheduler has a mouse enter appointment listener.
Declaration
public abstract bool HasMouseEnterAppointmentDelegate()
Returns
IsAppointmentInRangelink
Determines whether an appointment is within the specified range.
Declaration
public abstract bool IsAppointmentInRange(AppointmentData item, DateTime start, DateTime end)
Parameters
Returns
IsSelectedlink
Determines whether the specified view is selected.
Declaration
public abstract bool IsSelected(ISchedulerView view)
Parameters
Returns
MouseEnterAppointmentlink
Notifies the scheduler that the user has moved the mouse over the specified appointment.
Declaration
public abstract Task MouseEnterAppointment(ElementReference reference, AppointmentData data)
Parameters
Returns
MouseEnterAppointmentlink
Notifies the scheduler that the user has moved the mouse over the specified appointment.
Declaration
public virtual Task MouseEnterAppointment(ElementReference reference, AppointmentData data, double clientX, double clientY)
Parameters
Returns
MouseLeaveAppointmentlink
Notifies the scheduler that the user has moved the mouse out of the specified appointment.
Declaration
public abstract Task MouseLeaveAppointment(ElementReference reference, AppointmentData data)
Parameters
Returns
MouseLeaveAppointmentlink
Notifies the scheduler that the user has moved the mouse out of the specified appointment.
Declaration
public virtual Task MouseLeaveAppointment(ElementReference reference, AppointmentData data, double clientX, double clientY)
Parameters
Returns
Reloads this instance.
Declaration
public abstract Task Reload()
Returns
RemoveViewlink
Removes a view. Must be called when a ISchedulerView is disposed.
Declaration
public abstract void RemoveView(ISchedulerView view)
Parameters
RenderAppointmentlink
Renders the appointment.
Declaration
public abstract RenderFragment RenderAppointment(AppointmentData item)
Parameters
Returns
SelectAppointmentlink
Selects the specified appointment.
Declaration
public abstract Task SelectAppointment(AppointmentData data)
Parameters
Returns
SelectDaylink
Selects the specified day.
Declaration
public abstract Task SelectDay(DateTime day, IEnumerable<AppointmentData> appointments)
Parameters
Returns
SelectMonthlink
Selects the specified month.
Declaration
public abstract Task SelectMonth(DateTime monthStart, IEnumerable<AppointmentData> appointments)
Parameters
Returns
SelectMorelink
Selects the specified more link.
Declaration
public abstract Task<bool> SelectMore(DateTime start, DateTime end, IEnumerable<AppointmentData> appointments)
Parameters
Returns
SelectSlotlink
Selects the specified slot.
Declaration
public abstract Task SelectSlot(DateTime start, DateTime end)
Parameters
Returns
SelectSlotlink
Selects the specified slot.
Declaration
public abstract Task<bool> SelectSlot(DateTime start, DateTime end, IEnumerable<AppointmentData> appointments)
Parameters
Returns