alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ScheduleHeaderRows

    Represents a collection of ScheduleHeaderRow.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    ScheduleHeaderRows
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.Schedule
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ScheduleHeaderRows : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    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
    [Parameter]
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    RenderFragment

    The value used to build the content.

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    Dispose(bool)

    Dispose unmanaged resources in the Syncfusion Blazor component.

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

    Boolean value to dispose the object.

    Overrides
    OwningComponentBase.Dispose(bool)

    OnInitializedAsync()

    Initializes the ScheduleHeaderRows component during the component initialization phase.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    A task representing the asynchronous operation.

    Overrides
    ComponentBase.OnInitializedAsync()
    Remarks

    This method performs the following initialization tasks:

    • Calls the base OnInitializedAsync method
    • Updates the parent component with the collected header rows configuration
    • All child ScheduleHeaderRow components are added to the HeaderRows collection before this method completes

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved