alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class LinearGaugeEvents

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

    Inheritance
    object
    ComponentBase
    LinearGaugeEvents
    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.LinearGauge
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class LinearGaugeEvents : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

    Constructors

    LinearGaugeEvents()

    Declaration
    public LinearGaugeEvents()

    Properties

    AnnotationRendering

    Gets or sets the event to trigger it before each Annotation gets rendered.

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

    An EventCallback<TValue> to customize annotations during rendering.

    Remarks

    This event can alter annotation properties or content before display.

    AxisLabelRendering

    Gets or sets the event to trigger it before each axis label gets rendered.

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

    An EventCallback<TValue> enabling customization of axis label rendering.

    Remarks

    Utilize this event to modify label appearance or content during the rendering process.

    Loaded

    Gets or sets the event to trigger it after the linear gauge gets loaded.

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

    An EventCallback<TValue> that enables executing code after the gauge is fully loaded.

    Remarks

    This event is ideal for operations that require the gauge to be completely initialized and rendered.

    OnDrag

    Gets or sets the event that is triggered during the pointer dragging interaction.

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

    An EventCallback<TValue> providing updates on active pointer drag operations.

    Remarks

    This event supplies real-time feedback while the pointer is being dragged, useful for updating UI elements or states.

    OnDragEnd

    Gets or sets the event that is triggered after the pointer dragging operation is completed.

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

    An EventCallback<TValue> that responds when pointer dragging ends.

    Remarks

    This event is ideal for handling logic after pointer adjustments have been finalized through user interaction.

    OnDragStart

    Gets or sets the event that is triggered before the pointer dragging operation begins.

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

    An EventCallback<TValue> invoked when pointer dragging starts.

    Remarks

    Use this event to prepare or initialize settings before pointer dragging commences.

    OnGaugeMouseDown

    Gets or sets the event to trigger it when performing the mouse down operation on gauge area.

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

    An EventCallback<TValue> responding to mouse press events.

    Remarks

    Ideal for initiating actions or controls when the gauge is clicked.

    OnGaugeMouseLeave

    Gets or sets the event to trigger its when performing the mouse leave operation from the gauge area.

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

    An EventCallback<TValue> for mouse leave event handling.

    Remarks

    Useful for cleanup or UI updates when the mouse exits the gauge's interactive area.

    OnGaugeMouseUp

    Gets or sets the event to trigger it when performing mouse up operation on gauge area.

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

    An EventCallback<TValue> for capturing mouse release actions.

    Remarks

    Integrate additional logic or state updates following mouse clicks in the gauge area.

    OnLoad

    Gets or sets the event to trigger it before the linear gauge gets loaded.

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

    An EventCallback<TValue> that allows custom logic to run before loading the linear gauge.

    Remarks

    Use this event to apply settings or perform actions before the gauge is initialized.

    OnPrint

    Gets or sets the event to trigger it before the prints gets started.

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

    An EventCallback<TValue> facilitating actions before printing the gauge.

    Remarks

    Customize print settings or capture relevant data before the print process.

    Parent

    Gets or sets the cascading value and parameters for all of its descendants of the class.

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

    Resizing

    Gets or sets the event to trigger it after window resize.

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

    An EventCallback<TValue> that enables resize-specific operations.

    Remarks

    This event is useful for responsive designs, adjusting gauge size, and placement after resizing.

    TooltipRendering

    Gets or sets the event to trigger it before tooltip gets rendered.

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

    An EventCallback<TValue> for adjusting tooltip attributes before rendering.

    Remarks

    Use this event to modify tooltip parameters dynamically as needed.

    ValueChange

    Gets or sets the event to trigger it while changing the value of the pointer by UI interaction.

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

    An EventCallback<TValue> that acts upon pointer value adjustments.

    Remarks

    Allows dynamic updates and real-time tracking of pointer value changes.

    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