Class EventRenderedArgs<T>
Provides the information about the rendering of events in the Scheduler.
Inheritance
Namespace: Syncfusion.Blazor.Schedule
Assembly: Syncfusion.Blazor.dll
Syntax
public class EventRenderedArgs<T> : Object
Type Parameters
Name | Description |
---|---|
T | Specifies the TValue of schedule events. |
Constructors
EventRenderedArgs()
Declaration
public EventRenderedArgs()
Properties
AppointmentType
Gets the current AppointmentType, which can be either normal or block.
Declaration
public AppointmentType AppointmentType { get; }
Property Value
Type | Description |
---|---|
AppointmentType | A AppointmentType enumeration value indicating whether the current appointment type is normal or block. |
Attributes
Gets or sets the custom attributes of the appointment element.
Declaration
public Dictionary<string, object> Attributes { get; set; }
Property Value
Type |
---|
System.Collections.Generic.Dictionary<System.String, System.Object> |
Cancel
Gets or sets whether the event rendering action should be canceled or not.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
CssClasses
Gets or sets the custom classes to appointment element.
Declaration
public List<string> CssClasses { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | A list of strings representing the custom classes to be added to the appointment element. |
Data
Gets the event data that is currently being rendered.
Declaration
public T Data { get; set; }
Property Value
Type |
---|
T |
ElementReference
Gets the Microsoft.AspNetCore.Components.ElementReference of the current appointment element. This can be used to access the underlying DOM element.
Declaration
public ElementReference ElementReference { get; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.ElementReference |
GroupIndex
Gets the group index of the event that is currently being rendered.
Declaration
public int GroupIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Accepts an integer value. |