Class
TelerikSliderBase<TValue>

Definition

Namespace:Telerik.Blazor.Components.Common

Assembly:Telerik.Blazor.dll

Type Parameters:

TValue

Syntax:

cs-api-definition
public abstract class TelerikSliderBase<TValue> : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentTelerikSliderBase<TValue>

Derived Classes: TelerikRangeSlider<TValue>TelerikSlider<TValue>

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members BaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.BuildRenderTree(RenderTreeBuilder)ComponentBase.OnParametersSet()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.SetParametersAsync(ParameterView)

Constructors

TelerikSliderBase()

Declaration

cs-api-definition
protected TelerikSliderBase()

Properties

AriaDescribedBy

Defines the aria-describedby attribute for the component.

Declaration

cs-api-definition
[Parameter]
public string AriaDescribedBy { get; set; }

Property Value

string

AriaLabelledBy

Describe the aria-labelledby attribute for the component.

Declaration

cs-api-definition
[Parameter]
public string AriaLabelledBy { get; set; }

Property Value

string

CascadedEditContext

Declaration

cs-api-definition
[CascadingParameter]
public EditContext CascadedEditContext { get; set; }

Property Value

EditContext

Decimals

Specifies the number precision applied when typing. By default the decimals count is set from the specified Culture.

Declaration

cs-api-definition
[Parameter]
public int Decimals { get; set; }

Property Value

int

Enabled

Specifies whether the Component is enabled.

Declaration

cs-api-definition
[Parameter]
public bool Enabled { get; set; }

Property Value

bool

LabelTemplate

Defines the label template of the slider.

Declaration

cs-api-definition
[Parameter]
public RenderFragment<TValue> LabelTemplate { get; set; }

Property Value

RenderFragment<TValue>

LargeStep

Defines the step that will have a large tick and will have a label.

Declaration

cs-api-definition
[Parameter]
public TValue LargeStep { get; set; }

Property Value

TValue

Max

Defines the maximum value of the Slider.

Declaration

cs-api-definition
[Parameter]
public TValue Max { get; set; }

Property Value

TValue

Min

Defines the minimum value of the Slider.

Declaration

cs-api-definition
[Parameter]
public TValue Min { get; set; }

Property Value

TValue

Orientation

Defines the orientation of the Slider. Default value Horizontal.

Declaration

cs-api-definition
[Parameter]
public SliderOrientation Orientation { get; set; }

Property Value

SliderOrientation

SmallStep

Defines the small step value of the Slider. Small ticks count is calculated based on the small step. Accepts positive values only. Default value is 1.

Declaration

cs-api-definition
[Parameter]
public TValue SmallStep { get; set; }

Property Value

TValue

TabIndex

The TabIndex of the component.

Declaration

cs-api-definition
[Parameter]
public int TabIndex { get; set; }

Property Value

int

TickPosition

Defines the position of the ticks around the Slider track.

Declaration

cs-api-definition
[Parameter]
public SliderTickPosition TickPosition { get; set; }

Property Value

SliderTickPosition

Width

Defines the width of the component.

Declaration

cs-api-definition
[Parameter]
public string Width { get; set; }

Property Value

string

Methods

Dispose()

Declaration

cs-api-definition
public override void Dispose()

Overrides BaseComponent.Dispose()

Implements IDisposable.Dispose()

OnAfterRenderAsync(bool)

Declaration

cs-api-definition
protected override Task OnAfterRenderAsync(bool firstRender)

Parameters

firstRender

bool

Returns

Task

Overrides BaseComponent.OnAfterRenderAsync(bool)

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides ComponentBase.OnInitialized()

OnParametersSetAsync()

Declaration

cs-api-definition
protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()