ClassTelerikDateInput<T>
The class for the DateInput component.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Type Parameters:
T
Syntax:
public class TelerikDateInput<T> : TelerikInputBase<T>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentTelerikInputBase<T>TelerikDateInput<T>
Implements:
Inherited Members
Constructors
TelerikDateInput()
Declaration
public TelerikDateInput()
Fields
Steps
Declaration
public DateInputSteps Steps
Field Value
DateInputSteps
Properties
AllowCaretMode
Specifies if a caret can be displayed during input (when possible).
Declaration
[Parameter]
public bool AllowCaretMode { get; set; }
Property Value
AutoComplete
Specifies the autocomplete attribute of the component.
Declaration
[Parameter]
public string AutoComplete { get; set; }
Property Value
AutoCorrectParts
Specifies if date parts will be auto corrected.
Declaration
[Parameter]
public bool AutoCorrectParts { get; set; }
Property Value
AutoSwitchKeys
Specifies which keys should switch date parts.
AutoSwitchParts
Specifies if date parts will be automatically switched when completed.
Declaration
[Parameter]
public bool AutoSwitchParts { get; set; }
Property Value
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
DebounceDelay
Time in ms between the last typed symbol and the updating of the value. Default is 150ms.
FillMode
Specifies the fill mode of the date input. Default value is Solid.
Declaration
[Parameter]
public string FillMode { get; set; }
Property Value
Format
Specifies the format of the DateInput.
Max
Sets the maximum allowed date of the DateInput.
Min
Sets the minimum allowed date of the DateInput.
Placeholder
Specifies the placeholder attribute of the component.
Declaration
[Parameter]
public string Placeholder { get; set; }
Property Value
ReadOnly
The parameter is used to specify if the input field should be read-only.
When set to true
, the input becomes non-editable.
ShowClearButton
Specifies if the clear button will be displayed.
Declaration
[Parameter]
public bool ShowClearButton { get; set; }
Property Value
TwoDigitYearMax
Specifies the maximum year to assume to be from the current century when typing two-digit year value. The default value is 68, indicating that typing any value less than 69 will be assumed to be 20xx, while 69 and larger will be assumed to be 19xx.
Declaration
[Parameter]
public int TwoDigitYearMax { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
FocusAsync()
Moves focus to the component.