alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class CircularGaugeEvents

    Specifies the events to be triggered in the Circular gauge component.

    Inheritance
    object
    ComponentBase
    CircularGaugeEvents
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    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()
    Namespace: Syncfusion.Blazor.CircularGauge
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class CircularGaugeEvents : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

    Constructors

    CircularGaugeEvents()

    Declaration
    public CircularGaugeEvents()

    Properties

    AnimationCompleted

    Gets or sets the event that is triggered after the animation completes for pointers.

    Declaration
    [Parameter]
    public EventCallback<AnimationCompleteEventArgs> AnimationCompleted { get; set; }
    Property Value
    Type Description
    EventCallback<AnimationCompleteEventArgs>

    An EventCallback<TValue> representing the callback function.

    Remarks

    This event allows handling actions once the pointer animations are completed in the circular gauge.

    AnnotationRendering

    Gets or sets the event that is triggered before each annotation of the circular gauge is rendered.

    Declaration
    [Parameter]
    public EventCallback<AnnotationRenderEventArgs> AnnotationRendering { get; set; }
    Property Value
    Type Description
    EventCallback<AnnotationRenderEventArgs>

    An EventCallback<TValue> representing the callback function.

    Remarks

    This event can be used to customize annotations before they are drawn on the gauge.

    AxisLabelRendering

    Gets or sets the event that is triggered before each axis label is rendered.

    Declaration
    [Parameter]
    public EventCallback<AxisLabelRenderEventArgs> AxisLabelRendering { get; set; }
    Property Value
    Type Description
    EventCallback<AxisLabelRenderEventArgs>

    An EventCallback<TValue> representing the callback function.

    Remarks

    Customize the appearance or content of axis labels using this event.

    Loaded

    Gets or sets the event that is triggered after the circular gauge is loaded.

    Declaration
    [Parameter]
    public EventCallback<LoadedEventArgs> Loaded { get; set; }
    Property Value
    Type Description
    EventCallback<LoadedEventArgs>

    An EventCallback<TValue> representing the callback function.

    Remarks

    Utilize this event to execute tasks or configurations after loading the gauge.

    OnDrag

    Gets or sets the event that is triggered while dragging a pointer or a range.

    Declaration
    [Parameter]
    public EventCallback<PointerDragEventArgs> OnDrag { get; set; }
    Property Value
    Type Description
    EventCallback<PointerDragEventArgs>

    An EventCallback<TValue> representing the callback function.

    Remarks

    Customize behavior or perform actions during the drag operation of pointers or ranges using this event.

    OnDragEnd

    Gets or sets the event that is triggered after a pointer or a range is dragged.

    Declaration
    [Parameter]
    public EventCallback<PointerDragEventArgs> OnDragEnd { get; set; }
    Property Value
    Type Description
    EventCallback<PointerDragEventArgs>

    An EventCallback<TValue> representing the callback function.

    Remarks

    Use this event to handle operations after the dragging of pointers or ranges has concluded.

    OnDragStart

    Gets or sets the event that is triggered before a pointer or a range is dragged.

    Declaration
    [Parameter]
    public EventCallback<PointerDragEventArgs> OnDragStart { get; set; }
    Property Value
    Type Description
    EventCallback<PointerDragEventArgs>

    An EventCallback<TValue> representing the callback function.

    Remarks

    Prepare any prerequisites or handle initial actions before the drag of pointers or ranges begins.

    OnGaugeMouseDown

    Gets or sets the event that is triggered on a mouse down action.

    Declaration
    [Parameter]
    public EventCallback<MouseEventArgs> OnGaugeMouseDown { get; set; }
    Property Value
    Type Description
    EventCallback<MouseEventArgs>

    An EventCallback<TValue> representing the callback function.

    Remarks

    Use this event to handle actions when a mouse button is pressed down within the gauge area.

    OnGaugeMouseLeave

    Gets or sets the event that is triggered when the cursor leaves the circular gauge.

    Declaration
    [Parameter]
    public EventCallback<MouseEventArgs> OnGaugeMouseLeave { get; set; }
    Property Value
    Type Description
    EventCallback<MouseEventArgs>

    An EventCallback<TValue> representing the callback function.

    Remarks

    Use this event to handle actions when the mouse exits the gauge boundary.

    OnGaugeMouseMove

    Gets or sets the event that is triggered on hovering over the circular gauge.

    Declaration
    [Parameter]
    public EventCallback<MouseEventArgs> OnGaugeMouseMove { get; set; }
    Property Value
    Type Description
    EventCallback<MouseEventArgs>

    An EventCallback<TValue> representing the callback function.

    Remarks

    Use this event to show information or effects while the mouse is moving over the gauge.

    OnGaugeMouseUp

    Gets or sets the event that is triggered on a mouse up action.

    Declaration
    [Parameter]
    public EventCallback<MouseEventArgs> OnGaugeMouseUp { get; set; }
    Property Value
    Type Description
    EventCallback<MouseEventArgs>

    An EventCallback<TValue> representing the callback function.

    Remarks

    Handle actions or state changes when a mouse button is released within the gauge area.

    OnLoad

    Gets or sets the event that is triggered before the circular gauge is loaded.

    Declaration
    [Parameter]
    public EventCallback<LoadedEventArgs> OnLoad { get; set; }
    Property Value
    Type Description
    EventCallback<LoadedEventArgs>

    An EventCallback<TValue> representing the callback function.

    Remarks

    Use this event to perform operations or alterations prior to the loading of the gauge.

    OnPrint

    Gets or sets the event that is triggered before the printing process starts.

    Declaration
    [Parameter]
    public EventCallback<PrintEventArgs> OnPrint { get; set; }
    Property Value
    Type Description
    EventCallback<PrintEventArgs>

    An EventCallback<TValue> representing the callback function.

    Remarks

    This event allows performing any customization or preparations before the gauge is printed.

    OnRadiusCalculate

    Gets or sets the event that is triggered before the radius of the circular gauge is calculated.

    Declaration
    [Parameter]
    public EventCallback<RadiusCalculateEventArgs> OnRadiusCalculate { get; set; }
    Property Value
    Type Description
    EventCallback<RadiusCalculateEventArgs>

    An EventCallback<TValue> representing the callback function.

    Remarks

    Allows intervention before the computation of the gauge's radius, enabling manual radius adjustments.

    Parent

    Gets or sets the properties of the Circular gauge.

    Declaration
    [CascadingParameter]
    protected SfCircularGauge? Parent { get; set; }
    Property Value
    Type
    SfCircularGauge

    Resizing

    Gets or sets the event that is triggered after the window is resized.

    Declaration
    [Parameter]
    public EventCallback<ResizeEventArgs> Resizing { get; set; }
    Property Value
    Type Description
    EventCallback<ResizeEventArgs>

    An EventCallback<TValue> representing the callback function.

    Remarks

    This event can be used to adjust styling or re-layout the gauge after a resize event.

    TooltipRendering

    Gets or sets the event that is triggered before the tooltip for pointers of the circular gauge is rendered.

    Declaration
    [Parameter]
    public EventCallback<TooltipRenderEventArgs> TooltipRendering { get; set; }
    Property Value
    Type Description
    EventCallback<TooltipRenderEventArgs>

    An EventCallback<TValue> representing the callback function.

    Remarks

    Customize or provide data for tooltips before they appear on pointers.

    Methods

    OnInitializedAsync()

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

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    Task representing the asynchronous operation.

    Overrides
    ComponentBase.OnInitializedAsync()

    Implements

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