Class ScheduleGroup
A class that holds the resource grouping related configurations on Schedule.
Inheritance
System.Object
Syncfusion.Blazor.SfBaseComponent
ScheduleGroup
Assembly: Syncfusion.Blazor.dll
Syntax
public class ScheduleGroup : SfBaseComponent
Constructors
ScheduleGroup()
Declaration
Properties
AllowGroupEdit
Allows creation and editing of linked appointments assigned to multiple resources. When set to true
,
a single appointment object instance will be maintained in scheduler dataSource that are created for
multiple resources, whereas displayed individually on UI.
Declaration
public bool AllowGroupEdit { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ByDate
When set to true
, groups the resources by date where each day renders all the resource names under it.
Declaration
public bool ByDate { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ByGroupID
Decides whether to allow the resource hierarchy to group by ID. It is set to true
by default and when set to false,
all the resources under child collection will be mapped against each available parent.
Declaration
public bool ByGroupID { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ChildContent
Child content of schedule group
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.RenderFragment |
|
EnableCompactView
Decides whether to display the resource grouping layout in normal or compact mode in mobile devices. When set to false
,
the default grouping layout on desktop will be displayed on mobile devices with scrolling enabled.
Declaration
public bool EnableCompactView { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Template option to customize the tooltip that displays over the resource header bar. By default, no tooltip will be
displayed on resource header bar.
Declaration
public RenderFragment<TemplateContext> HeaderTooltipTemplate { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.RenderFragment<TemplateContext> |
|
Resources
Accepts the collection of resource names assigned to each resources and allows the grouping order on scheduler based on it.
Declaration
public string[] Resources { get; set; }
Property Value
Type |
Description |
System.String[] |
|
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()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|