Class TelerikPickerBase<T>
Inherited Members
Namespace: Telerik.Blazor.Components.Common.Pickers
Assembly: Telerik.Blazor.dll
Syntax
public abstract class TelerikPickerBase<T> : TelerikInputBase<T>, IDisposable, ILabelableInput, IFormatPlaceholderContainer
Type Parameters
T
|
Constructors
TelerikPickerBase()
Declaration
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
public AdaptiveMode AdaptiveMode { get; set; }
Property Value
AdaptiveMode
|
AutoComplete
Specifies the autocomplete attribute of the component.
Declaration
public string AutoComplete { get; set; }
Property Value
System.String
|
ChildContent
Defines the child content of the Picker.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
DebounceDelay
Time in ms between the last typed symbol and the updating of the value. Default is 150ms.
Declaration
public int DebounceDelay { get; set; }
Property Value
System.Int32
|
FillMode
Specifies the fill mode of the picker. Default value is Solid.
Declaration
public string FillMode { get; set; }
Property Value
System.String
|
Format
Specifies the format of the DateInput of the Picker.
Declaration
public virtual string Format { get; set; }
Property Value
System.String
|
Max
Sets the maximum allowed date of the Picker.
Declaration
public DateTime Max { get; set; }
Property Value
System.DateTime
|
Min
Sets the minimum allowed date of the Picker.
Declaration
public DateTime Min { get; set; }
Property Value
System.DateTime
|
Placeholder
Specifies the placeholder attribute of the component.
Declaration
public string Placeholder { get; set; }
Property Value
System.String
|
PopupClass
Defines the CSS class that will be applied to the rendered popup of the component.
Declaration
public string PopupClass { get; set; }
Property Value
System.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
public bool ReadOnly { get; set; }
Property Value
System.Boolean
|
Rounded
Specifies the roundness of the picker. Default value is Medium.
Declaration
public string Rounded { get; set; }
Property Value
System.String
|
ShowClearButton
Specifies if the clear button will be displayed.
Declaration
public bool ShowClearButton { get; set; }
Property Value
System.Boolean
|
ShowOtherMonthDays
Defines if the days from adjacent months are shown.
Declaration
public bool ShowOtherMonthDays { get; set; }
Property Value
System.Boolean
|
Size
Specifies the Size of the picker. Default value is Medium.
Declaration
public string Size { get; set; }
Property Value
System.String
|
Subtitle
Defines the subtitle text rendered in the header of the popup. Applicable only when Auto is set.
Declaration
public string Subtitle { get; set; }
Property Value
System.String
|
Title
Defines the title text rendered in the header of the popup. Applicable only when Auto is set.
Declaration
public string Title { get; set; }
Property Value
System.String
|
Methods
Close()
Closes the component.
Declaration
public virtual void Close()
Dispose()
Declaration
public override void Dispose()
Overrides
OnAfterRenderAsync(Boolean)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
System.Boolean
firstRender
|
Returns
System.Threading.Tasks.Task
|
Overrides
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
System.Threading.Tasks.Task
|
Overrides
Open()
Opens the component.
Declaration
public virtual void Open()
Refresh()
Re-renders the component.
Declaration
public void Refresh()