menu

Blazor

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

    Show / Hide Table of Contents

    Class CircularGaugeNeedleTail

    Defines the options to customize the tail of the needle pointer in an axis.

    Inheritance
    System.Object
    CircularGaugeNeedleTail
    Namespace: Syncfusion.Blazor.CircularGauge
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class CircularGaugeNeedleTail : OwningComponentBase

    Constructors

    CircularGaugeNeedleTail()

    Declaration
    public CircularGaugeNeedleTail()

    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

    A Microsoft.AspNetCore.Components.RenderFragment that represents the child content of the needle tail.

    Remarks

    Use this property to define additional UI elements or styles within the needle tail.

    Color

    Gets or sets the color for the needle pointer in the circular gauge component.

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

    A System.String representing the color of the needle tail.

    Remarks

    This property allows customization of the needle tail color for better visibility and aesthetics.

    Length

    Gets or sets the length of the needle in pixels or in percentage in the circular gauge component.

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

    A System.String representing the length of the needle tail. The default value is "0%".

    Remarks

    Configure this property to adjust the needle tail's length according to your layout needs.

    Methods

    BuildRenderTree(RenderTreeBuilder)

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

    Dispose(Boolean)

    Disposes the property values during the destroy of the component that is hold up for the execution of the component.

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

    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.

    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 - 2025 Syncfusion Inc. All Rights Reserved