Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LinearGaugeLine - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LinearGaugeLine

    Defines the lines of an axis in Linear gauge component.

    Inheritance
    System.Object
    SfBaseComponent
    LinearGaugeLine
    Inherited Members
    SfBaseComponent.OnAfterRenderAsync(Boolean)
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    Namespace: Syncfusion.Blazor.LinearGauge
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class LinearGaugeLine : SfBaseComponent

    Constructors

    LinearGaugeLine()

    Declaration
    public LinearGaugeLine()

    Properties

    ChildContent

    Gets or sets the content of the UI element.

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

    Color

    Gets or sets the color for the axis line.

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

    DashArray

    Gets or sets the dash-array of the axis line.

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

    Height

    Gets or sets the height of the axis line.

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

    Offset

    Gets or sets the offset to position the axis line in linear gauge.

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

    Width

    Gets or sets the width of the axis line.

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

    Methods

    BuildRenderTree(RenderTreeBuilder)

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

    OnInitializedAsync()

    OnInitializedAsync method is called when the component has received its initial parameters.

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

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

    Overrides
    SfBaseComponent.OnInitializedAsync()

    OnParametersSetAsync()

    OnParametersSetAsync is a lifecycle method that is invoked when the component has received parameters, and the incoming values have been assigned to the properties.

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

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

    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved