Class
TelerikInputBase<T>

Definition

Namespace:Telerik.Blazor.Components.Common

Assembly:Telerik.Blazor.dll

Type Parameters:

T

Syntax:

cs-api-definition
public class TelerikInputBase<T> : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentTelerikInputBase<T>

Derived Classes: ColorEditorBaseTelerikPickerBase<T>TextBoxBaseTelerikCheckBox<TValue>TelerikColorPaletteTelerikDateInput<T>TelerikEditorTelerikNumericTextBox<T>TelerikRadioGroup<TItem, TValue>TelerikSwitch<TValue>

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members BaseComponent.ShouldRender()BaseComponent.OnAfterRenderAsync(bool)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.OnInitialized()ComponentBase.OnParametersSet()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)

Constructors

TelerikInputBase()

Declaration

cs-api-definition
public TelerikInputBase()

Properties

AriaDescribedBy

Defines the aria-describedby attribute for the component.

Declaration

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

Property Value

string

AriaLabel

Describe the aria-label attribute for the component.

Declaration

cs-api-definition
[Parameter]
public string AriaLabel { 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

Enabled

Specifies if the Component accepts user interaction and value changes. The default value is "true".

Declaration

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

Property Value

bool

FloatingLabel

Declaration

cs-api-definition
[CascadingParameter]
public TelerikFloatingLabel FloatingLabel { get; set; }

Property Value

TelerikFloatingLabel

Id

Specifies the id of the Component.

Declaration

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

Property Value

string

OnBlur

Fires when the component loses focus.

Declaration

cs-api-definition
[Parameter]
public virtual EventCallback OnBlur { get; set; }

Property Value

EventCallback

OnChange

Specifies the callback that's called when the current value is committed (confirmed) by the user - either through the Enter key, or when the Component loses focus.

Declaration

cs-api-definition
[Parameter]
public virtual EventCallback<object> OnChange { get; set; }

Property Value

EventCallback<object>

TabIndex

Maps to the tabindex attribute of the element. Use it to customize the tabbing focus order on the page.

Declaration

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

Property Value

int?

ValidateOn

Defines the event which specifies when validation is triggered.

Declaration

cs-api-definition
[Parameter]
public ValidationEvent ValidateOn { get; set; }

Property Value

ValidationEvent

Value

Specifies the value of the input. Used with two-way binding.

Declaration

cs-api-definition
[Parameter]
public virtual T Value { get; set; }

Property Value

T

ValueChanged

Specifies the callback that's called when the value changes.

Declaration

cs-api-definition
[Parameter]
public EventCallback<T> ValueChanged { get; set; }

Property Value

EventCallback<T>

ValueExpression

Specifies the expression that identifies the bound value.

Declaration

cs-api-definition
[Parameter]
public Expression<Func<T>> ValueExpression { get; set; }

Property Value

Expression<Func<T>>

Methods

Dispose()

Declaration

cs-api-definition
public override void Dispose()

Overrides BaseComponent.Dispose()

Implements IDisposable.Dispose()

FocusAsync()

Moves focus to the component.

Declaration

cs-api-definition
public virtual Task FocusAsync()

Returns

Task

OnInitializedAsync()

Declaration

cs-api-definition
protected override Task OnInitializedAsync()

Returns

Task

Overrides BaseComponent.OnInitializedAsync()

OnParametersSetAsync()

Declaration

cs-api-definition
protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()

SetParametersAsync(ParameterView)

Declaration

cs-api-definition
public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters

ParameterView

Returns

Task

Overrides ComponentBase.SetParametersAsync(ParameterView)