Class TelerikSlider<TValue>
The class for the Telerik Slider component.
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikSlider<TValue> : TelerikSliderBase<TValue>, IDisposable
Type Parameters
TValue
|
Constructors
TelerikSlider()
Declaration
public TelerikSlider()
Properties
AriaLabel
Defines the aria-label HTML attribute of the component.
Declaration
public string AriaLabel { get; set; }
Property Value
System.String
|
DragHandleTitle
Adds a title to the drag handle.
Declaration
public string DragHandleTitle { get; set; }
Property Value
System.String
|
OnChange
Specifies the callback that's called when the current value is committed (confirmed) by the user - OnDragEnd, OnClick of slider track, OnClick of increase/decrease button.
Declaration
public EventCallback<object> OnChange { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.Object>
|
ShowButtons
Defines if the slider should render buttons.
The default value is true
.
Declaration
public bool ShowButtons { get; set; }
Property Value
System.Boolean
|
Value
Defines the value of the Slider component. Supports two-way binding.
Declaration
public TValue Value { get; set; }
Property Value
TValue
|
ValueChanged
Defines the callback that's called when the Value changes.
Declaration
public EventCallback<TValue> ValueChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<TValue>
|
ValueExpression
Defines the expression that identifies the bound Value.
Declaration
public Expression<Func<TValue>> ValueExpression { get; set; }
Property Value
System.Linq.Expressions.Expression<System.Func<TValue>>
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Microsoft.AspNetCore.Components.ParameterView
parameters
|
Returns
System.Threading.Tasks.Task
|