Class ScheduleTimeScale
Configure the schedule time scale.
Inheritance
System.Object
Syncfusion.Blazor.SfBaseComponent
ScheduleTimeScale
Namespace: Syncfusion.Blazor.Schedule
Assembly: Syncfusion.Blazor.dll
Syntax
public class ScheduleTimeScale : SfBaseComponent
Constructors
ScheduleTimeScale()
Declaration
public ScheduleTimeScale()
Properties
ChildContent
Defines the child content
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment |
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
public bool Enable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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
public int Interval { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MajorSlotTemplate
The template option to be applied for major time slot cells. The time details can be accessed within this template.
Declaration
public RenderFragment<TemplateContext> MajorSlotTemplate { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment<TemplateContext> |
MinorSlotTemplate
The template option to be applied for minor time slot cells. The time details can be accessed within this template.
Declaration
public RenderFragment<TemplateContext> MinorSlotTemplate { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment<TemplateContext> |
SlotCount
Decides the number of slot count to be split for the specified time interval duration.
Declaration
public int SlotCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |