menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ResourcesBuilder

    Show / Hide Table of Contents

    Class ResourcesBuilder

    A builder class that holds Scheduler resources items.

    Inheritance
    System.Object
    ResourcesBuilder
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class ResourcesBuilder

    Constructors

    ResourcesBuilder(Resources)

    Initializes a new instance of the ResourcesBuilder class to indicate the resource options.

    Declaration
    public ResourcesBuilder(Resources options)
    Parameters
    Type Name Description
    Resources options

    It accepts the value as Resources object.

    ResourcesBuilder(Resources, Schedule)

    Initializes a new instance of the ResourcesBuilder class to indicate the resource options.

    Declaration
    public ResourcesBuilder(Resources options, Schedule schedule)
    Parameters
    Type Name Description
    Resources options

    It accepts the value as Resources object.

    Schedule schedule

    It accepts the value as Schedule object.

    Methods

    Add()

    It adds the resource and model properties.

    Declaration
    public void Add()

    AllowMultiple(Boolean)

    This field stores the value which indicates whether to allow multiple selection of resource names or not.

    Declaration
    public ResourcesBuilder AllowMultiple(bool value)
    Parameters
    Type Name Description
    System.Boolean value

    It accepts the value which indicates whether to allow multiple selection of resource names or not.

    Returns
    Type Description
    ResourcesBuilder

    Field(String)

    This field stores the value for the resource field.

    Declaration
    public ResourcesBuilder Field(string value)
    Parameters
    Type Name Description
    System.String value

    It accepts the value for the resource field.

    Returns
    Type Description
    ResourcesBuilder

    Name(String)

    This field stores the value for the resource name.

    Declaration
    public ResourcesBuilder Name(string value)
    Parameters
    Type Name Description
    System.String value

    It accepts the value for the resource name.

    Returns
    Type Description
    ResourcesBuilder

    ResourceSettings(ResourceFields)

    This field stores the field names of the resources to be bound to the Schedule and also the dataSource.

    Declaration
    public ResourcesBuilder ResourceSettings(ResourceFields defaultItems)
    Parameters
    Type Name Description
    ResourceFields defaultItems

    It accepts the field names of the resources to be bound to the Schedule and also the dataSource.

    Returns
    Type Description
    ResourcesBuilder

    ResourceSettings(Action<ResourceFieldsBuilder>)

    It stores the field names of the resources to be bound to the Schedule and also the dataSource.

    Declaration
    public ResourcesBuilder ResourceSettings(Action<ResourceFieldsBuilder> resourceSettings)
    Parameters
    Type Name Description
    System.Action<ResourceFieldsBuilder> resourceSettings

    It accepts the field names of the resources to be bound to the Schedule and also the dataSource.

    Returns
    Type Description
    ResourcesBuilder

    Title(String)

    This field stores the value for the resource title.

    Declaration
    public ResourcesBuilder Title(string value)
    Parameters
    Type Name Description
    System.String value

    It accepts the value for the resource title.

    Returns
    Type Description
    ResourcesBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved