Class DatePickerClientProps<TValue>
Specifies the client properties of datepicker.
Inheritance
Namespace: Syncfusion.Blazor.Calendars
Assembly: Syncfusion.Blazor.dll
Syntax
public class DatePickerClientProps<TValue> : Object
Type Parameters
Name | Description |
---|---|
TValue | Specifies the type of DatePickerClientProps. |
Constructors
DatePickerClientProps()
Declaration
public DatePickerClientProps()
Properties
AllowEdit
Specifies a boolean value whether the DatePicker allows user to change the value via typing. When set as false, the DatePicker allows user to change the value via picker only.
Declaration
public bool AllowEdit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Depth
Sets the maximum level of view such as month, year, and decade in the Calendar.
Depth view should be smaller than the start view to restrict its view navigation.
Declaration
public string Depth { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Enabled
Specifies a boolean value that indicates whether the DatePicker allows the user to interact with it.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableRtl
Enable or disable rendering component in right to left direction.
Declaration
public bool EnableRtl { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDatePopup
True if the date popup is opened.
Declaration
public bool IsDatePopup { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
KeyConfigs
Customizes the key actions in Calendar. For example, when using German keyboard, the key actions can be customized using these shortcuts.
Declaration
public Dictionary<string, object> KeyConfigs { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> |
Locale
Specifies the global culture and localization of the DatePicker component.
Declaration
public string Locale { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Readonly
Specifies the component in readonly state. When the Component is readonly it does not allow user input.
Declaration
public bool Readonly { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShowClearButton
Specifies whether to show or hide the clear icon in DatePicker.
Declaration
public bool ShowClearButton { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Value
Gets or sets the selected date of the Calendar.
Declaration
public TValue Value { get; set; }
Property Value
Type | Description |
---|---|
TValue |
Width
Sets the width of the input element in the datepicker component.
Declaration
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ZIndex
Specifies the z-index value of the datePicker popup element.
Declaration
public int ZIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |