Class ScheduleResourceBuilder
  
  
  
  
    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    ScheduleResourceBuilder
   
  
  Assembly: Syncfusion.EJ2.dll
  Syntax
  
    public class ScheduleResourceBuilder : ControlBuilder
   
  Constructors
  
  
  
  
  ScheduleResourceBuilder()
  
  
  Declaration
  
    public ScheduleResourceBuilder()
   
  
  
  
  ScheduleResourceBuilder(List<ScheduleResource>)
  
  
  Declaration
  
    public ScheduleResourceBuilder(List<ScheduleResource> collection)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Collections.Generic.List<ScheduleResource> | collection |  | 
    
  
  Methods
  
  
  
  
  Add()
  
  
  Declaration
  
  
  
  
  AllowMultiple(Boolean)
  When set to true, allows multiple selection of resource names, thus creating multiple instances of same appointment for the
selected resources.
Declaration
  
    public ScheduleResourceBuilder AllowMultiple(bool allowMultiple)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Boolean | allowMultiple |  | 
    
  
  Returns
  
  
  
  
  ColorField(String)
  It maps the color field from the dataSource, which is used to specify colors for the resources.
Declaration
  
    public ScheduleResourceBuilder ColorField(string colorField)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | colorField |  | 
    
  
  Returns
  
  
  
  
  CssClassField(String)
  It maps the cssClass field from the dataSource, which is used to specify different styles to each resource appointments.
Declaration
  
    public ScheduleResourceBuilder CssClassField(string cssClassField)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | cssClassField |  | 
    
  
  Returns
  
  
  
  
  DataSource(Action<DataManagerBuilder>)
  
  
  Declaration
  
    public ScheduleResourceBuilder DataSource(Action<DataManagerBuilder> dataSource)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Action<Syncfusion.EJ2.DataManagerBuilder> | dataSource |  | 
    
  
  Returns
  
  
  
  
  DataSource(Object)
  Assigns the resource dataSource
The data can be passed either as an array of JavaScript objects,
or else can create an instance of DataManager
in case of processing remote data and can be assigned to the dataSource property.
With the remote data assigned to dataSource, check the available
adaptors to customize the data processing.
Declaration
  
    public ScheduleResourceBuilder DataSource(object dataSource)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Object | dataSource |  | 
    
  
  Returns
  
  
  
  
  EndHourField(String)
  It maps the endHour field from the dataSource, which is used to specify different work end hour for each resources.
Declaration
  
    public ScheduleResourceBuilder EndHourField(string endHourField)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | endHourField |  | 
    
  
  Returns
  
  
  
  
  ExpandedField(String)
  It maps the expanded field from the dataSource, which is used to specify whether each resource levels
in timeline view needs to be maintained in an expanded or collapsed state by default.
Declaration
  
    public ScheduleResourceBuilder ExpandedField(string expandedField)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | expandedField |  | 
    
  
  Returns
  
  
  
  
  Field(String)
  A value that binds to the resource field of event object.
Declaration
  
    public ScheduleResourceBuilder Field(string field)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | field |  | 
    
  
  Returns
  
  
  
  
  GroupIDField(String)
  It maps the groupID field from the dataSource, which is used to specify under which parent resource,
the child should be grouped.
Declaration
  
    public ScheduleResourceBuilder GroupIDField(string groupIDField)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | groupIDField |  | 
    
  
  Returns
  
  
  
  
  IdField(String)
  It maps the id field from the dataSource and is used to uniquely identify the resources.
Declaration
  
    public ScheduleResourceBuilder IdField(string idField)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | idField |  | 
    
  
  Returns
  
  
  
  
  Name(String)
  It represents a unique resource name for differentiating various resource objects while grouping.
Declaration
  
    public ScheduleResourceBuilder Name(string name)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | name |  | 
    
  
  Returns
  
  
  
  
  Query(String)
  Defines the external query
that will be executed along with the data processing.
Declaration
  
    public ScheduleResourceBuilder Query(string query)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | query |  | 
    
  
  Returns
  
  
  
  
  StartHourField(String)
  It maps the startHour field from the dataSource, which is used to specify different work start hour for each resources.
Declaration
  
    public ScheduleResourceBuilder StartHourField(string startHourField)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | startHourField |  | 
    
  
  Returns
  
  
  
  
  TextField(String)
  It maps the text field from the dataSource, which is used to specify the resource names.
Declaration
  
    public ScheduleResourceBuilder TextField(string textField)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | textField |  | 
    
  
  Returns
  
  
  
  
  Title(String)
  It holds the title of the resource field to be displayed on the schedule event editor window.
Declaration
  
    public ScheduleResourceBuilder Title(string title)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | title |  | 
    
  
  Returns
  
  
  
  
  WorkDaysField(String)
  It maps the working days field from the dataSource, which is used to specify different working days for each resources.
Declaration
  
    public ScheduleResourceBuilder WorkDaysField(string workDaysField)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.String | workDaysField |  | 
    
  
  Returns