Blazor

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

    Show / Hide Table of Contents

    Class LinearGaugeAxisLabelStyle

    Sets and gets the style of the axis label in linear gauge component.

    Inheritance
    System.Object
    Syncfusion.Blazor.SfBaseComponent
    LinearGaugeAxisLabelStyle
    Namespace: Syncfusion.Blazor.LinearGauge
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class LinearGaugeAxisLabelStyle : SfBaseComponent

    Constructors

    LinearGaugeAxisLabelStyle()

    Declaration
    public LinearGaugeAxisLabelStyle()

    Properties

    ChildContent

    Sets and gets the content of the UI element.

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

    Format

    Sets and gets the format for the axis label. This property accepts any global format string like 'C', 'n1', 'P' etc. Also accepts placeholder like '{value}°C' in which value represent the axis label e.g. 20°C.

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

    Offset

    Sets and gets the value to position the axis labels in linear gauge.

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

    Position

    Sets and gets the position of the axis label in linear gauge.

    Declaration
    public Position Position { get; set; }
    Property Value
    Type Description
    Position

    UseRangeColor

    Enables or disables the color of the label to use the color of the ranges in linear gauge.

    Declaration
    public bool UseRangeColor { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    BuildRenderTree(RenderTreeBuilder)

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

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()

    OnParametersSetAsync()

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