SchedulerSlotSelectEventArgs Class

Supplies information about a SlotSelect event that is being raised.

Inheritance

Object

SchedulerSlotSelectEventArgs

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public class SchedulerSlotSelectEventArgs

Constructors

SchedulerSlotSelectEventArgsLink to this section

Supplies information about a SlotSelect event that is being raised.

Declaration
public SchedulerSlotSelectEventArgs()

Properties

AppointmentsLink to this section

List of appointments.

Declaration
public IEnumerable<AppointmentData> Appointments { get; set; }
Property Value
Type Description
IEnumerable<AppointmentData>List of appointments.

EndLink to this section

The end of the slot.

Declaration
public DateTime End { get; set; }
Property Value
Type Description
DateTimeThe end of the slot.

IsDefaultPreventedLink to this section

Has default action been prevented from occuring?

Declaration
public bool IsDefaultPrevented { get; }
Property Value
Type Description
boolHas default action been prevented from occuring?

ResourceLink to this section

The innermost resource item associated with the slot. Set when the slot belongs to a resource in a view which groups appointments by resource via GroupByResource; otherwise null.

Declaration
public object Resource { get; set; }
Property Value
Type Description
objectThe innermost resource item associated with the slot. Set when the slot belongs to a resource in a view which groups appointments by resource via GroupByResource; otherwise null.

ResourcesLink to this section

The resource items associated with the slot keyed by resource type Name - one entry per grouping level. Set when the slot belongs to a resource in a view which groups appointments by resource; otherwise null.

Declaration
public IDictionary<string, object> Resources { get; set; }
Property Value
Type Description
IDictionary<string, object>The resource items associated with the slot keyed by resource type Name - one entry per grouping level. Set when the slot belongs to a resource in a view which groups appointments by resource; otherwise null.

StartLink to this section

The start of the slot.

Declaration
public DateTime Start { get; set; }
Property Value
Type Description
DateTimeThe start of the slot.

ViewLink to this section

Current View.

Declaration
public ISchedulerView View { get; set; }
Property Value
Type Description
ISchedulerViewCurrent View.

Methods

PreventDefaultLink to this section

Prevent default action from occuring.

Declaration
public void PreventDefault()
An error has occurred. This app may no longer respond until reloaded. Reload 🗙