Class TemplateContext
Provides the information about the template options in the Scheduler.
Inheritance
System.Object
TemplateContext
Namespace: Syncfusion.Blazor.Schedule
Assembly: Syncfusion.Blazor.dll
Syntax
public class TemplateContext : Object
Constructors
TemplateContext()
Declaration
public TemplateContext()
Properties
Date
Gets the date of the template.
Declaration
public DateTime Date { get; }
Property Value
Type |
---|
System.DateTime |
GroupIndex
Gets the group index of the resource which helps to get the resource information using GetResourceByIndex(Int32) method.
Declaration
public Nullable<int> GroupIndex { get; }
Property Value
Type |
---|
System.Nullable<System.Int32> |
Resource
Gets the resource details and relevant fields for the specified resource.
Declaration
public Resource Resource { get; }
Property Value
Type |
---|
Resource |
ResourceData
Gets the data associated with the specified resource.
Declaration
public object ResourceData { get; }
Property Value
Type |
---|
System.Object |
Type
Gets the type of element represented by the Scheduler.
Declaration
public ElementType Type { get; }
Property Value
Type |
---|
ElementType |