Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GanttResourceFields<TResources> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GanttResourceFields<TResources>

    Defines mapping properties for resource values.

    Inheritance
    System.Object
    SfBaseComponent
    SfDataBoundComponent
    GanttResourceFields<TResources>
    Inherited Members
    SfDataBoundComponent.SetDataManager<T>(Object)
    SfDataBoundComponent.OnAfterRenderAsync(Boolean)
    SfDataBoundComponent.DataManager
    SfDataBoundComponent.MainParent
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    Namespace: Syncfusion.Blazor.Gantt
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class GanttResourceFields<TResources> : SfDataBoundComponent
    Type Parameters
    Name Description
    TResources

    Specifies the type of GanttResourceFields.

    Constructors

    GanttResourceFields()

    Declaration
    public GanttResourceFields()

    Properties

    Id

    To map id of task from data source.

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    System.String

    Name

    To map schedule mode of task from data source.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Resources

    It is used to render Gantt chart resources. Resources value was defined as array of JavaScript objects or instances of Resources.

    Declaration
    public IEnumerable<TResources> Resources { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<TResources>

    Unit

    To map indicators of task from data source.

    Declaration
    public string Unit { 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
    SfDataBoundComponent.OnInitializedAsync()

    OnParametersSetAsync()

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    SfDataBoundComponent.OnParametersSetAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved