Class Resource
Provide information about the resource fields.
Inherited Members
Namespace: Syncfusion.Blazor.Schedule
Assembly: Syncfusion.Blazor.dll
Syntax
public class Resource
Constructors
Resource()
Declaration
public Resource()
Properties
AllowMultiple
Gets or sets a value indicating whether to allow multiple selection of resource names, which results in multiple instances of the same appointment for the selected resources.
Declaration
public bool AllowMultiple { get; set; }
Property Value
| Type |
|---|
| bool |
ColorField
Gets or sets the mapping field for the Color field from the dataSource, used to specify the colors for the resources.
Declaration
public string ColorField { get; set; }
Property Value
| Type |
|---|
| string |
CssClassField
Gets or sets the mapping field for the CssClass field from the dataSource, used to specify different styles to each resource's appointments.
Declaration
public string CssClassField { get; set; }
Property Value
| Type |
|---|
| string |
DataSource
Gets or sets the collection of resources to display in the scheduler.
Declaration
public IEnumerable<object> DataSource { get; set; }
Property Value
| Type |
|---|
| IEnumerable<object> |
EndHourField
Gets or sets the mapping field for the EndHour field from the dataSource, used to specify different work end hours for each resource.
Declaration
public string EndHourField { get; set; }
Property Value
| Type |
|---|
| string |
ExpandedField
Gets or sets the mapping field for the Expanded field from the dataSource, used to specify whether each resource level in the timeline view should be maintained in an expanded or collapsed state by default.
Declaration
public string ExpandedField { get; set; }
Property Value
| Type |
|---|
| string |
Field
Gets or sets a value that is bound to the resource field of appointment data.
Declaration
public string Field { get; set; }
Property Value
| Type |
|---|
| string |
GroupIDField
Gets or sets the mapping field for the GroupID field from the dataSource, used to specify under which parent resource the child should be grouped.
Declaration
public string GroupIDField { get; set; }
Property Value
| Type |
|---|
| string |
IdField
Gets or sets the mapping field for the Id field from the dataSource, used to uniquely identify the resources.
Declaration
public string IdField { get; set; }
Property Value
| Type |
|---|
| string |
Name
Gets or sets a unique resource name for differentiating various resource objects while grouping.
Declaration
public string Name { get; set; }
Property Value
| Type |
|---|
| string |
Query
Gets or sets the external Query that will be executed during data processing.
Declaration
public Query Query { get; set; }
Property Value
| Type |
|---|
| Query |
StartHourField
Gets or sets the mapping field for the StartHour field from the dataSource, used to specify different work start hours for each resource.
Declaration
public string StartHourField { get; set; }
Property Value
| Type |
|---|
| string |
TextField
Gets or sets the mapping field for the Text field from the dataSource, used to specify the resource names.
Declaration
public string TextField { get; set; }
Property Value
| Type |
|---|
| string |
Title
Gets or sets the title for the resource field to be displayed on the schedule event editor window.
Declaration
public string Title { get; set; }
Property Value
| Type |
|---|
| string |
WorkDaysField
Gets or sets the mapping field for the WorkDays field from the dataSource, used to specify different working days for each resource.
Declaration
public string WorkDaysField { get; set; }
Property Value
| Type |
|---|
| string |