Class ScheduleTimeScale
Inherited Members
Namespace: Syncfusion.EJ2.Schedule
Assembly: Syncfusion.EJ2.dll
Syntax
public class ScheduleTimeScale : EJTagHelper
Constructors
ScheduleTimeScale()
Declaration
public ScheduleTimeScale()
Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type | Description |
---|---|
MvcTemplate<System.Object> |
Enable
When set to true
, allows the schedule to display the appointments accurately against the exact time duration.
If set to false
, all the appointments of a day will be displayed one below the other.
Declaration
[HtmlAttributeName("enable")]
public bool Enable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
Interval
Defines the time duration on which the time axis to be displayed either in 1 hour or 30 minutes interval and so on. It accepts the values in minutes.
Declaration
[HtmlAttributeName("interval")]
public double Interval { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 60 |
MajorSlotTemplate
The template option to be applied for major time slot. Here, the template accepts either the string or HTMLElement as template design and then the parsed design is displayed onto the time cells. The time details can be accessed within this template.
Declaration
[HtmlAttributeName("majorSlotTemplate")]
public string MajorSlotTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
MinorSlotTemplate
The template option to be applied for minor time slot. Here, the template accepts either the string or HTMLElement as template design and then the parsed design is displayed onto the time cells. The time details can be accessed within this template.
Declaration
[HtmlAttributeName("minorSlotTemplate")]
public string MinorSlotTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
SlotCount
Decides the number of slot count to be split for the specified time interval duration.
Declaration
[HtmlAttributeName("slotCount")]
public double SlotCount { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 2 |