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
Type Parameters
T
|
Constructors
TelerikDateTimePicker()
Declaration
public TelerikDateTimePicker()
Properties
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
|
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
|
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()