Class IgbDatePicker
Inheritance
System.Object
IgbDatePicker
Implements
System.IDisposable
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbDatePicker : BaseRendererControl, RefSink, JsonSerializable, IDisposable
Constructors
IgbDatePicker()
Declaration
Properties
AllowTextInput
Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
Declaration
public bool AllowTextInput { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
BaseTheme
Gets or sets the base built in theme to use for the date picker.
Declaration
public BaseControlTheme BaseTheme { get; set; }
Property Value
Changing
Declaration
public EventCallback<IgbInputChangeEventArgs> Changing { get; set; }
Property Value
ChangingScript
Declaration
public string ChangingScript { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets the date time format to use for this column. If FormatString is specificied this value is ignored.
Declaration
public DateFormats DateFormat { get; set; }
Property Value
Density
Gets or sets the display density to use for the date pcicker.
Declaration
public ControlDisplayDensity Density { get; set; }
Property Value
FirstDayOfWeek
Gets or sets the FirstDayOfWeek property to detirmine first day of the week
Declaration
public DayOfWeek FirstDayOfWeek { get; set; }
Property Value
FirstWeekOfYear
Gets or sets the FirstWeekOfYear property to detirmine first week of the year
Declaration
public FirstWeek FirstWeekOfYear { get; set; }
Property Value
Gets or sets the Format property to detirmine the format of the date in the input
Declaration
public string FormatString { get; set; }
Property Value
Type |
Description |
System.String |
|
GotFocus
Declaration
public EventCallback<IgbGotFocusEventArgs> GotFocus { get; set; }
Property Value
GotFocusScript
Declaration
public string GotFocusScript { get; set; }
Property Value
Type |
Description |
System.String |
|
IconColor
Gets or Sets the text color
Declaration
public string IconColor { get; set; }
Property Value
Type |
Description |
System.String |
|
IsDisabled
Declaration
public bool IsDisabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
KeyDown
Declaration
public EventCallback<IgbKeyEventArgs> KeyDown { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<IgbKeyEventArgs> |
|
KeyDownScript
Declaration
public string KeyDownScript { get; set; }
Property Value
Type |
Description |
System.String |
|
Label
Gets or Sets the property name that contains the label.
Declaration
public string Label { get; set; }
Property Value
Type |
Description |
System.String |
|
LabelFontFamily
Declaration
public string LabelFontFamily { get; set; }
Property Value
Type |
Description |
System.String |
|
LabelFontSize
Declaration
public double LabelFontSize { get; set; }
Property Value
Type |
Description |
System.Double |
|
LabelFontStyle
Declaration
public string LabelFontStyle { get; set; }
Property Value
Type |
Description |
System.String |
|
LabelFontWeight
Declaration
public string LabelFontWeight { get; set; }
Property Value
Type |
Description |
System.String |
|
LabelTextColor
Gets or sets the color to use for the text.
Declaration
public string LabelTextColor { get; set; }
Property Value
Type |
Description |
System.String |
|
LostFocus
Declaration
public EventCallback<IgbLostFocusEventArgs> LostFocus { get; set; }
Property Value
LostFocusScript
Declaration
public string LostFocusScript { get; set; }
Property Value
Type |
Description |
System.String |
|
MaxDate
Gets or Sets the property name that contains the MaxDate.
Declaration
public DateTime MaxDate { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
MinDate
Gets or Sets the property name that contains the MinDate.
Declaration
public DateTime MinDate { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
OpenOnFocus
Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
Declaration
public bool OpenOnFocus { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Placeholder
Gets or Sets the property name that contains the placeholder.
Declaration
public string Placeholder { get; set; }
Property Value
Type |
Description |
System.String |
|
SelectedValueChanged
Declaration
public Action<IgbSelectedValueChangedEventArgs> SelectedValueChanged { get; set; }
Property Value
SelectedValueChangedScript
Declaration
public string SelectedValueChangedScript { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets the ShowClearButton property to detirmine if the clear button is shown
Declaration
public bool ShowClearButton { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets the ShowTodayButton property to detirmine if the today button is shown
Declaration
public bool ShowTodayButton { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ShowWeekNumbers
Gets or sets the ShowWeekNumbers property to detirmine if the week numbers are shown
Declaration
public bool ShowWeekNumbers { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
TextColor
Gets or Sets the text color
Declaration
public string TextColor { get; set; }
Property Value
Type |
Description |
System.String |
|
TextFontFamily
Declaration
public string TextFontFamily { get; set; }
Property Value
Type |
Description |
System.String |
|
TextFontSize
Declaration
public double TextFontSize { get; set; }
Property Value
Type |
Description |
System.Double |
|
TextFontStyle
Declaration
public string TextFontStyle { get; set; }
Property Value
Type |
Description |
System.String |
|
TextFontWeight
Declaration
public string TextFontWeight { get; set; }
Property Value
Type |
Description |
System.String |
|
Today
Gets or Sets the property name that contains the values.
Declaration
public DateTime Today { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
Type
Declaration
public override string Type { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Value
Gets or Sets the property name that contains the values.
Declaration
public DateTime Value { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
ValueChanged
Declaration
public EventCallback<DateTime> ValueChanged { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<System.DateTime> |
|
ValueChangedScript
Declaration
public string ValueChangedScript { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
EnsureModulesLoaded()
Declaration
protected override void EnsureModulesLoaded()
Overrides
ExportSerializedVisualModel()
Declaration
public string ExportSerializedVisualModel()
Returns
Type |
Description |
System.String |
|
ExportSerializedVisualModelAsync()
Returns a serialized copy of the exported visual model
Declaration
public Task<string> ExportSerializedVisualModelAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
ExportVisualModel()
Declaration
public object ExportVisualModel()
Returns
Type |
Description |
System.Object |
|
ExportVisualModelAsync()
Exports visual information about the current state of the grid.
Declaration
public Task<object> ExportVisualModelAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Object> |
|
FindByName(String)
Declaration
public override object FindByName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Object |
|
Overrides
GetCurrentValue()
Declaration
public DateTime GetCurrentValue()
Returns
Type |
Description |
System.DateTime |
|
GetCurrentValueAsync()
Declaration
public Task<DateTime> GetCurrentValueAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.DateTime> |
|
Select()
Declaration
SelectAsync()
Declaration
public Task SelectAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
SetCustomizedStringAsync(String, Dictionary<String, String>)
Provide a new set of localized strings to use for a given languange.
Declaration
public Task<object> SetCustomizedStringAsync(string language, Dictionary<string, string> values)
Parameters
Type |
Name |
Description |
System.String |
language |
The browser language the strings will be used with. I.e. "ja", "en", "fr", etc.
|
System.Collections.Generic.Dictionary<System.String, System.String> |
values |
The new string value.
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Object> |
|
SetCustomizedStringAsync(String, String)
Provide a new set of localized strings to use for a given languange.
Declaration
public Task<object> SetCustomizedStringAsync(string language, string json)
Parameters
Type |
Name |
Description |
System.String |
language |
The browser language the strings will be used with. I.e. "ja", "en", "fr", etc.
|
System.String |
json |
The new string values in json format.
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Object> |
|
SetCustomizedStringAsync(String, String, String)
Provide a new set of localized strings to use for a given languange.
Declaration
public Task<object> SetCustomizedStringAsync(string language, string id, string value)
Parameters
Type |
Name |
Description |
System.String |
language |
The browser language the strings will be used with. I.e. "ja", "en", "fr", etc.
|
System.String |
id |
The id of the string to set.
|
System.String |
value |
The new string value.
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Object> |
|
Implements
System.IDisposable