menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TemplateContext - API Reference

    Show / Hide Table of Contents

    Class TemplateContext

    Provides the information about the template options in the Scheduler.

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

    Constructors

    TemplateContext()

    Declaration
    public TemplateContext()

    Properties

    Date

    Gets the date of the template.

    Declaration
    public DateTime Date { get; }
    Property Value
    Type Description
    System.DateTime

    GroupIndex

    Gets the group index of the resource which helps to get the resource information using GetResourceByIndex(Int32) method.

    Declaration
    public Nullable<int> GroupIndex { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Resource

    Gets the resource details and relevant fields for the specified resource.

    Declaration
    public Resource Resource { get; }
    Property Value
    Type Description
    Resource

    ResourceData

    Gets the data associated with the specified resource.

    Declaration
    public object ResourceData { get; }
    Property Value
    Type Description
    System.Object

    Type

    Gets the type of element represented by the Scheduler.

    Declaration
    public ElementType Type { get; }
    Property Value
    Type Description
    ElementType
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved