menu

Blazor

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

    Show / Hide Table of Contents

    Class GanttDayWorkingTime

    Gantt DayWorkingTime collection.

    Inheritance
    System.Object
    GanttDayWorkingTime
    Namespace: Syncfusion.Blazor.Gantt
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class GanttDayWorkingTime : OwningComponentBase

    Constructors

    GanttDayWorkingTime()

    Declaration
    public GanttDayWorkingTime()

    Properties

    From

    Gets or sets start time of working time range.

    Declaration
    public double From { get; set; }
    Property Value
    Type Description
    System.Double

    A System.Double value that represents the start time of the working time range.

    Remarks

    This property specifies the start time of the working time range. The value should be in hours, expressed as a decimal number. For example, 8.5 represents 8:30 AM. The default value is 8, which represents morning.

    To

    Gets or sets the end time of working time range.

    Declaration
    public double To { get; set; }
    Property Value
    Type Description
    System.Double

    A System.Double value that represents the end time of the working time range.

    Remarks

    This property specifies the end time of the working time range. The value should be in hours, expressed as a decimal number. For example, 17 represents 5 PM. The default value is 17, which represents the evening.

    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()

    Triggers during the initial rendering of the component.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    OnParametersSetAsync()

    Called by the framework when component parameters have been set. Executes logic that depends on the updated parameter values.

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