Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • 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
    Syncfusion.Blazor.SfBaseComponent
    SliderEvents<TValue>
    Namespace: Syncfusion.Blazor.Inputs
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SliderEvents<TValue> : SfBaseComponent
    Type Parameters
    Name Description
    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>

    Destroyed

    Triggers when the component is destroyed.

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

    OnChange

    We can trigger change event whenever Slider value is changed. In other term, this event will be triggered while drag the slider thumb.

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

    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>>

    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>

    TicksRendering

    Triggers on rendering the ticks element 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>

    ValueChange

    Fires whenever the Slider value is changed. In other term, this event will be triggered, while drag the slider thumb completed.

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

    Methods

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved