menu

Blazor

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

    Show / Hide Table of Contents

    Class ScheduleHeaderRows

    Represents a collection of ScheduleHeaderRow.

    Inheritance
    System.Object
    ScheduleHeaderRows
    Namespace: Syncfusion.Blazor.Schedule
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ScheduleHeaderRows : OwningComponentBase
    Remarks

    To generate dynamic ScheduleHeaderRow based on collection, use @foreach directive within ScheduleHeaderRows tag.

    Examples
    <SfSchedule TValue="AppointmentData">
        <ScheduleHeaderRows>
            <ScheduleHeaderRow Option="HeaderRowType.Year"></ScheduleHeaderRow>
            <ScheduleHeaderRow Option="HeaderRowType.Month"></ScheduleHeaderRow>
            <ScheduleHeaderRow Option="HeaderRowType.Week"></ScheduleHeaderRow>
            <ScheduleHeaderRow Option="HeaderRowType.Date"></ScheduleHeaderRow>
            <ScheduleHeaderRow Option="HeaderRowType.Hour"></ScheduleHeaderRow>
        </ScheduleHeaderRows>
    </SfSchedule>

    Constructors

    ScheduleHeaderRows()

    Declaration
    public ScheduleHeaderRows()

    Properties

    ChildContent

    Gets or sets the child content of header rows.

    Declaration
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment

    The value used to build the content.

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    Dispose(Boolean)

    Dispose unmanaged resources in the Syncfusion Blazor component.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Boolean value to dispose the object.

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type
    System.Threading.Tasks.Task
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved