Class TelerikDateTimePicker<T>
The class for the DateTimePicker component.
Inheritance
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikDateTimePicker<T> : TelerikInputBase<T>, IDisposable, ILabelableInput, IStepsContainer, IFormatPlaceholderContainer
Type Parameters
T
|
Constructors
TelerikDateTimePicker()
Declaration
public TelerikDateTimePicker()
Properties
ChildContent
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 datetime picker. Default value is Solid.
Declaration
public string FillMode { get; set; }
Property Value
System.String
|
Format
Specifies the format of the DateInput of the DateTimePicker.
Declaration
public string Format { get; set; }
Property Value
System.String
|
Max
Sets the maximum allowed date of the datetime picker.
Declaration
public DateTime Max { get; set; }
Property Value
System.DateTime
|
Min
Sets the minimum allowed date of the datetime 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
|
Rounded
Specifies the roundness of the datetime picker. Default value is Medium.
Declaration
public string Rounded { get; set; }
Property Value
System.String
|
Size
Specifies the Size of the datetime picker. Default value is Medium.
Declaration
public string Size { get; set; }
Property Value
System.String
|
Width
Specifies the width of the DateTimePicker.
Declaration
public string Width { get; set; }
Property Value
System.String
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
CloseAsync()
Hides the time picker popup.
Declaration
public Task CloseAsync()
Returns
System.Threading.Tasks.Task
|
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
OnParametersSet()
Declaration
protected override void OnParametersSet()