Class
TelerikPickerBase<T>

Definition

Namespace:Telerik.Blazor.Components.Common.Pickers

Assembly:Telerik.Blazor.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectComponentBaseBaseComponentTelerikInputBase<T>TelerikPickerBase<T>

Derived Classes: TelerikDatePicker<T>TelerikDateTimePicker<T>TelerikTimePicker<T>

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members TelerikInputBase<T>.SetParametersAsync(ParameterView)TelerikInputBase<T>.OnParametersSetAsync()TelerikInputBase<T>.FocusAsync()TelerikInputBase<T>.CascadedEditContextTelerikInputBase<T>.FloatingLabelTelerikInputBase<T>.IdTelerikInputBase<T>.EnabledTelerikInputBase<T>.TabIndexTelerikInputBase<T>.ValueExpressionTelerikInputBase<T>.ValueChangedTelerikInputBase<T>.ValueTelerikInputBase<T>.OnChangeTelerikInputBase<T>.OnBlurTelerikInputBase<T>.AriaLabelTelerikInputBase<T>.AriaLabelledByTelerikInputBase<T>.AriaDescribedByTelerikInputBase<T>.ValidateOnBaseComponent.ShouldRender()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

TelerikPickerBase()

Declaration

cs-api-definition
protected TelerikPickerBase()

Properties

AdaptiveMode

Defines if the component will adapt and automatically change its rendering based on the current screen size. Default value is None.

Declaration

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

Property Value

AdaptiveMode

AutoComplete

Specifies the autocomplete attribute of the component.

Declaration

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

Property Value

string

ChildContent

Defines the child content of the Picker.

Declaration

cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }

Property Value

RenderFragment

DebounceDelay

Time in ms between the last typed symbol and the updating of the value. Default is 150ms.

Declaration

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

Property Value

int

FillMode

Specifies the fill mode of the picker. Default value is Solid.

Declaration

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

Property Value

string

Format

Specifies the format of the DateInput of the Picker.

Declaration

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

Property Value

string

Max

Sets the maximum allowed date of the Picker.

Declaration

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

Property Value

DateTime

Min

Sets the minimum allowed date of the Picker.

Declaration

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

Property Value

DateTime

Placeholder

Specifies the placeholder attribute of the component.

Declaration

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

Property Value

string

PopupClass

Defines the CSS class that will be applied to the rendered popup of the component.

Declaration

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

Property Value

string

ReadOnly

The parameter is used to specify if the input field should be read-only. When set to true, the input becomes non-editable.

Declaration

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

Property Value

bool

Rounded

Specifies the roundness of the picker. Default value is Medium.

Declaration

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

Property Value

string

ShowClearButton

Specifies if the clear button will be displayed.

Declaration

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

Property Value

bool

ShowOtherMonthDays

Defines if the days from adjacent months are shown.

Declaration

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

Property Value

bool

Size

Specifies the Size of the picker. Default value is Medium.

Declaration

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

Property Value

string

Subtitle

Defines the subtitle text rendered in the header of the popup. Applicable only when Auto is set.

Declaration

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

Property Value

string

Title

Defines the title text rendered in the header of the popup. Applicable only when Auto is set.

Declaration

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

Property Value

string

Methods

Close()

Closes the component.

Declaration

cs-api-definition
public virtual void Close()

Dispose()

Declaration

cs-api-definition
public override void Dispose()

Overrides TelerikInputBase<T>.Dispose()

OnAfterRenderAsync(bool)

Declaration

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

Parameters

firstRender

bool

Returns

Task

Overrides BaseComponent.OnAfterRenderAsync(bool)

OnInitializedAsync()

Declaration

cs-api-definition
protected override Task OnInitializedAsync()

Returns

Task

Overrides TelerikInputBase<T>.OnInitializedAsync()

Open()

Opens the component.

Declaration

cs-api-definition
public virtual void Open()

Refresh()

Re-renders the component.

Declaration

cs-api-definition
public void Refresh()