menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Resource - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Resource

    Provide information about the resource fields.

    Inheritance
    System.Object
    Resource
    Namespace: Syncfusion.Blazor.Schedule
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class Resource : Object

    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
    System.Boolean

    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
    System.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
    System.String

    DataSource

    Gets or sets the collection of resources to display in the scheduler.

    Declaration
    public IEnumerable<object> DataSource { get; set; }
    Property Value
    Type
    System.Collections.Generic.IEnumerable<System.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
    System.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
    System.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
    System.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
    System.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
    System.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
    System.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
    System.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
    System.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
    System.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
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved