Class
TelerikSliderBase<TValue>

Definition

Namespace:Telerik.Blazor.Components.Common

Assembly:Telerik.Blazor.dll

Type Parameters:

TValue

Syntax:

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.DisExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)

Constructors

TelerikSliderBase()

Declaration

protected TelerikSliderBase()

Properties

AriaDescribedBy

Defines the aria-describedby attribute for the component.

Declaration

[Parameter]
public string AriaDescribedBy { get; set; }

Property Value

string

AriaLabelledBy

Describe the aria-labelledby attribute for the component.

Declaration

[Parameter]
public string AriaLabelledBy { get; set; }

Property Value

string

CascadedEditContext

Declaration

[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

[Parameter]
public int Decimals { get; set; }

Property Value

int

Enabled

Specifies whether the Component is enabled.

Declaration

[Parameter]
public bool Enabled { get; set; }

Property Value

bool

LabelTemplate

Defines the label template of the slider.

Declaration

[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

[Parameter]
public TValue LargeStep { get; set; }

Property Value

TValue

Max

Defines the maximum value of the Slider.

Declaration

[Parameter]
public TValue Max { get; set; }

Property Value

TValue

Min

Defines the minimum value of the Slider.

Declaration

[Parameter]
public TValue Min { get; set; }

Property Value

TValue

Orientation

Defines the orientation of the Slider. Default value Horizontal.

Declaration

[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

[Parameter]
public TValue SmallStep { get; set; }

Property Value

TValue

TabIndex

The TabIndex of the component.

Declaration

[Parameter]
public int TabIndex { get; set; }

Property Value

int

TickPosition

Defines the position of the ticks around the Slider track.

Declaration

[Parameter]
public SliderTickPosition TickPosition { get; set; }

Property Value

SliderTickPosition

Width

Defines the width of the component.

Declaration

[Parameter]
public string Width { get; set; }

Property Value

string

Methods

Dispose()

Declaration

public override void Dispose()

Overrides BaseComponent.Dispose()

Implements IDisposable.Dispose()

OnAfterRenderAsync(bool)

Declaration

protected override Task OnAfterRenderAsync(bool firstRender)

Parameters

firstRender

bool

Returns

Task

Overrides BaseComponent.OnAfterRenderAsync(bool)

OnInitialized()

Declaration

protected override void OnInitialized()

Overrides ComponentBase.OnInitialized()

OnParametersSetAsync()

Declaration

protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()