menu

Blazor

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

    Show / Hide Table of Contents

    Class CircularGaugeEvents

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

    Inheritance
    System.Object
    CircularGaugeEvents
    Namespace: Syncfusion.Blazor.CircularGauge
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class CircularGaugeEvents : ComponentBase

    Constructors

    CircularGaugeEvents()

    Declaration
    public CircularGaugeEvents()

    Properties

    AnimationCompleted

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

    Declaration
    public EventCallback<AnimationCompleteEventArgs> AnimationCompleted { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<AnimationCompleteEventArgs>

    An Microsoft.AspNetCore.Components.EventCallback<> 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
    public EventCallback<AnnotationRenderEventArgs> AnnotationRendering { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<AnnotationRenderEventArgs>

    An Microsoft.AspNetCore.Components.EventCallback<> 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
    public EventCallback<AxisLabelRenderEventArgs> AxisLabelRendering { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<AxisLabelRenderEventArgs>

    An Microsoft.AspNetCore.Components.EventCallback<> 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
    public EventCallback<LoadedEventArgs> Loaded { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<LoadedEventArgs>

    An Microsoft.AspNetCore.Components.EventCallback<> 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
    public EventCallback<PointerDragEventArgs> OnDrag { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<PointerDragEventArgs>

    An Microsoft.AspNetCore.Components.EventCallback<> 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
    public EventCallback<PointerDragEventArgs> OnDragEnd { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<PointerDragEventArgs>

    An Microsoft.AspNetCore.Components.EventCallback<> 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
    public EventCallback<PointerDragEventArgs> OnDragStart { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<PointerDragEventArgs>

    An Microsoft.AspNetCore.Components.EventCallback<> 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
    public EventCallback<MouseEventArgs> OnGaugeMouseDown { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MouseEventArgs>

    An Microsoft.AspNetCore.Components.EventCallback<> 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
    public EventCallback<MouseEventArgs> OnGaugeMouseLeave { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MouseEventArgs>

    An Microsoft.AspNetCore.Components.EventCallback<> 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
    public EventCallback<MouseEventArgs> OnGaugeMouseMove { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MouseEventArgs>

    An Microsoft.AspNetCore.Components.EventCallback<> 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
    public EventCallback<MouseEventArgs> OnGaugeMouseUp { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<MouseEventArgs>

    An Microsoft.AspNetCore.Components.EventCallback<> 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
    public EventCallback<LoadedEventArgs> OnLoad { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<LoadedEventArgs>

    An Microsoft.AspNetCore.Components.EventCallback<> 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
    public EventCallback<PrintEventArgs> OnPrint { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<PrintEventArgs>

    An Microsoft.AspNetCore.Components.EventCallback<> 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
    public EventCallback<RadiusCalculateEventArgs> OnRadiusCalculate { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<RadiusCalculateEventArgs>

    An Microsoft.AspNetCore.Components.EventCallback<> 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
    protected SfCircularGauge Parent { get; set; }
    Property Value
    Type
    SfCircularGauge

    Resizing

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

    Declaration
    public EventCallback<ResizeEventArgs> Resizing { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<ResizeEventArgs>

    An Microsoft.AspNetCore.Components.EventCallback<> 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
    public EventCallback<TooltipRenderEventArgs> TooltipRendering { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<TooltipRenderEventArgs>

    An Microsoft.AspNetCore.Components.EventCallback<> 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
    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