menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SliderEvents<TValue> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SliderEvents<TValue>

    Configure handlers to handle the events of the Slider component.

    Inheritance
    System.Object
    SliderEvents<TValue>
    Namespace: Syncfusion.Blazor.Inputs
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SliderEvents<TValue> : OwningComponentBase
    Type Parameters
    Name Description
    TValue

    "TValue".

    Constructors

    SliderEvents()

    Declaration
    public SliderEvents()

    Properties

    Created

    Triggers when the Slider is successfully created.

    Declaration
    public EventCallback<object> Created { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    An event callback function.

    Destroyed

    Triggers when the component is destroyed.

    Declaration
    public EventCallback<object> Destroyed { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<System.Object>

    An event callback function.

    OnChange

    Triggers whenever the Slider value changes while dragging the slider thumb.

    Declaration
    public EventCallback<SliderChangeEventArgs<TValue>> OnChange { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<SliderChangeEventArgs<TValue>>

    An event callback function.

    OnTooltipChange

    Triggers when the Sider tooltip value is changed.

    Declaration
    public EventCallback<SliderTooltipEventArgs<TValue>> OnTooltipChange { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<SliderTooltipEventArgs<TValue>>

    An event callback function.

    TicksRendered

    Triggers when the ticks are rendered on the Slider.

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

    An event callback function.

    TicksRendering

    Triggers when the ticks elements are being rendered in the Slider, which is used to customize the ticks labels dynamically.

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

    An event callback function.

    ValueChange

    Triggers when the Slider value is changed after the dragging of slider thumb is completed.

    Declaration
    public EventCallback<SliderChangeEventArgs<TValue>> ValueChange { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<SliderChangeEventArgs<TValue>>

    An event callback function.

    Methods

    OnInitializedAsync()

    Method invoked when the component is ready to start.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    "Task".

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved