Class SliderEvents<TValue>
Configure handlers to handle the events of the Slider component.
Inheritance
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
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>> | 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 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> | An event callback function. |
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>> | 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". |