Class IgbDateTimeInput
A date time input is an input field that lets you set and edit the date and time in a chosen input element
using customizable display and input formats.
Inheritance
System.Object
IgbDateTimeInput
Implements
System.IDisposable
Assembly: IgniteUI.Blazor.dll
public class IgbDateTimeInput : IgbMaskInputBase, JsonSerializable
Constructors
Declaration
public IgbDateTimeInput()
Properties
Declaration
public EventCallback<IgbComponentDateValueChangedEventArgs> Change { get; set; }
Property Value
Declaration
public string ChangeScript { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
protected override string DirectRenderElementName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Format to display the value in when not editing.
Defaults to the input format if not set.
Declaration
public string DisplayFormat { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string InputFormat { get; set; }
Property Value
Type |
Description |
System.String |
|
The locale settings used to display the value.
Declaration
public string Locale { get; set; }
Property Value
Type |
Description |
System.String |
|
The maximum value required for the input to remain valid.
Declaration
public DateTime MaxValue { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
The minimum value required for the input to remain valid.
Declaration
public DateTime MinValue { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
Delta values used to increment or decrement each date part on step actions.
All values default to 1
.
Declaration
public IgbDatePartDeltas SpinDelta { get; set; }
Property Value
Sets whether to loop over the currently spun segment.
Declaration
public bool SpinLoop { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected override bool SupportsVisualChildren { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public override string Type { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Declaration
protected override bool UseDirectRender { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public DateTime Value { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
Methods
Declaration
public void CheckValidity()
Check for validity of the control
Declaration
public Task CheckValidityAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
Clears the input element of user input.
Declaration
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
public void ConnectedCallback()
Declaration
public Task ConnectedCallbackAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
protected override void EnsureModulesLoaded()
Overrides
Declaration
public override object FindByName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Object |
|
Overrides
Declaration
public void ReportValidity()
Checks for validity of the control and shows the browser message if it's invalid.
Declaration
public Task ReportValidityAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
protected override string ResolveDisplay()
Returns
Type |
Description |
System.String |
|
Overrides
Declaration
Declaration
public void StepDown(DatePart datePart)
Parameters
Declaration
public void StepDown(DatePart datePart, double delta)
Parameters
Type |
Name |
Description |
DatePart |
datePart |
|
System.Double |
delta |
|
Declaration
public Task StepDownAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
public Task StepDownAsync(DatePart datePart)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
public Task StepDownAsync(DatePart datePart, double delta)
Parameters
Type |
Name |
Description |
DatePart |
datePart |
|
System.Double |
delta |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
Declaration
public void StepUp(DatePart datePart)
Parameters
Declaration
public void StepUp(DatePart datePart, double delta)
Parameters
Type |
Name |
Description |
DatePart |
datePart |
|
System.Double |
delta |
|
Declaration
public Task StepUpAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
public Task StepUpAsync(DatePart datePart)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Declaration
public Task StepUpAsync(DatePart datePart, double delta)
Parameters
Type |
Name |
Description |
DatePart |
datePart |
|
System.Double |
delta |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Implements
System.IDisposable