Class DatePickerProperties
Inheritance
System.Object
DatePickerProperties
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ.dll
Syntax
public class DatePickerProperties : EJTagHelper
Constructors
DatePickerProperties()
Declaration
public DatePickerProperties()
Fields
blackoutDates
Declaration
public List<object> blackoutDates
Field Value
Type |
Description |
System.Collections.Generic.List<System.Object> |
|
Properties
AllowDrillDown
Gets or sets a value indicating the date picker calendar drilldown to multiple levels of view (month/year/decade).
Declaration
[JsonProperty("allowDrillDown")]
public bool AllowDrillDown { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
AllowEdit
Gets or sets a value indicating the date picker input field editable or not.
Declaration
[JsonProperty("allowEdit")]
public bool AllowEdit { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
BeforeClose
Gets or sets a value indicating this event gets fired before closing the date picker popup.
Declaration
[JsonProperty("beforeClose")]
public string BeforeClose { get; set; }
Property Value
Type |
Description |
System.String |
|
BeforeDateCreate
Gets or sets a value indicating this event gets fired when each date is created in the date picker calendar.
Declaration
[JsonProperty("beforeDateCreate")]
public string BeforeDateCreate { get; set; }
Property Value
Type |
Description |
System.String |
|
BeforeOpen
Gets or sets a value indicating this event gets fired before opening the date picker popup.
Declaration
[JsonProperty("beforeOpen")]
public string BeforeOpen { get; set; }
Property Value
Type |
Description |
System.String |
|
BlackoutDates
Gets or sets a value indicating the collection of dates to be disabled in the calendar.
Declaration
[JsonProperty("blackoutDates")]
[CLSCompliant(false)]
public List<object> BlackoutDates { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.List<System.Object> |
|
ButtonText
Gets or sets a value to customize the 'Today' button text.
Declaration
[JsonProperty("buttonText")]
public string ButtonText { get; set; }
Property Value
Type |
Description |
System.String |
|
Change
Gets or sets a value indicating this event gets fired when the date picker input value is changed.
Declaration
[JsonProperty("change")]
public string Change { get; set; }
Property Value
Type |
Description |
System.String |
|
Close
Gets or sets a value indicating this event gets fired when date picker popup is closed.
Declaration
[JsonProperty("close")]
public string Close { get; set; }
Property Value
Type |
Description |
System.String |
|
Create
Gets or sets a value indicating this event gets fired when the date picker is created successfully.
Declaration
[JsonProperty("create")]
public string Create { get; set; }
Property Value
Type |
Description |
System.String |
|
CssClass
Gets or sets root CSS class to date picker for theme customization.
Declaration
[JsonProperty("cssClass")]
public string CssClass { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets the date format to be displayed in date picker's input field.
Declaration
[JsonProperty("dateFormat")]
public string DateFormat { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets a value indicating the header format of days in the calendar.
Declaration
[JsonProperty("dayHeaderFormat")]
[JsonConverter(typeof(StringEnumConverter))]
public Header DayHeaderFormat { get; set; }
Property Value
DepthLevel
Gets or sets a value indicating the navigation depth level in the calendar. This is applicable when start level view is lower than depth level view.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("depthLevel")]
public Period DepthLevel { get; set; }
Property Value
Destroy
Gets or sets a value indicating this event gets fired when date picker is destroyed successfully.
Declaration
[JsonProperty("destroy")]
public string Destroy { get; set; }
Property Value
Type |
Description |
System.String |
|
DisplayInline
Gets or sets a value indicating date picker popup always in visible state or not.
Declaration
[JsonProperty("displayInline")]
public bool DisplayInline { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableAnimation
Gets or sets the value indicating the animation effect when date picker popup opens/closes.
Declaration
[JsonProperty("enableAnimation")]
public bool EnableAnimation { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Enabled
Gets or sets a value indicating whether the control can respond to user interaction.
Declaration
[JsonProperty("enabled")]
public bool Enabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnablePersistence
Gets or set the value indicating date picker model even after form post back/browser refresh sustains or not.
Declaration
[JsonProperty("enablePersistence")]
public bool EnablePersistence { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableRTL
Gets or sets the value to align the input field and calender in right to left direction.
Declaration
[JsonProperty("enableRTL")]
public bool EnableRTL { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EnableStrictMode
Gets or sets a value to allow the invalid date in the date picker input field.
Declaration
[JsonProperty("enableStrictMode")]
public bool EnableStrictMode { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
FocusIn
Gets or sets a value indicating this event gets fired when date picker input receives focus.
Declaration
[JsonProperty("focusIn")]
public string FocusIn { get; set; }
Property Value
Type |
Description |
System.String |
|
FocusOut
Gets or sets a value indicating this event gets fired when date picker input loses focus.
Declaration
[JsonProperty("focusOut")]
public string FocusOut { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets a value indicating the header format to be displayed in the calendar.
Declaration
[JsonProperty("headerFormat")]
public string HeaderFormat { get; set; }
Property Value
Type |
Description |
System.String |
|
Height
Gets or sets a value indicating the height of the date picker input field.
Declaration
[JsonProperty("height")]
public string Height { get; set; }
Property Value
Type |
Description |
System.String |
|
HighlightSection
Gets or sets a value to highlight the month/week/workdays of currently selected date.
Declaration
[JsonProperty("highlightSection")]
[JsonConverter(typeof(StringEnumConverter))]
public Section HighlightSection { get; set; }
Property Value
HighlightWeekend
Gets or sets a value to highlight the weekend dates or not.
Declaration
[JsonProperty("highlightWeekend")]
public bool HighlightWeekend { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
HtmlAttributes
Gets or sets the value to map the field of html attributes for the date picker element.
Declaration
[JsonProperty("htmlAttributes")]
public IDictionary<string, object> HtmlAttributes { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
|
IsFor
Gets or sets a value indicating IsFor property.
Declaration
[JsonIgnore]
public bool IsFor { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Locale
Gets or sets the culture to display the calendar in the specified culture.
Declaration
[JsonProperty("locale")]
public string Locale { get; set; }
Property Value
Type |
Description |
System.String |
|
MaxDate
Gets or sets a value indicating the maximum date of the calendar.
Declaration
[JsonProperty("maxDate")]
public object MaxDate { get; set; }
Property Value
Type |
Description |
System.Object |
|
MinDate
Gets or sets a value indicating the minimum date of the calendar.
Declaration
[JsonProperty("minDate")]
public object MinDate { get; set; }
Property Value
Type |
Description |
System.Object |
|
Navigate
Gets or sets a value indicating this event gets fired when calender navigates.
Declaration
[JsonProperty("navigate")]
public string Navigate { get; set; }
Property Value
Type |
Description |
System.String |
|
Open
Gets or sets a value indicating this event gets fired when date picker popup is opened.
Declaration
[JsonProperty("open")]
public string Open { get; set; }
Property Value
Type |
Description |
System.String |
|
ReadOnly
Gets or sets a value indicating editing/selecting the date in date picker is allowed or not.
Declaration
[JsonProperty("readOnly")]
public bool ReadOnly { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Select
Gets or sets a value indicating this event gets fired when a date is selected from the date picker calendar.
Declaration
[JsonProperty("select")]
public string Select { get; set; }
Property Value
Type |
Description |
System.String |
|
ShowDisabledRange
Gets or sets a value to show/hide the disabled dates.
Declaration
[JsonProperty("showDisabledRange")]
public bool ShowDisabledRange { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets the value indicating footer element in the calendar.
Declaration
[JsonProperty("showFooter")]
public bool ShowFooter { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ShowOtherMonths
Gets or sets the value indicating days of adjacent months in the current month calendar.
Declaration
[JsonProperty("showOtherMonths")]
public bool ShowOtherMonths { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets the value indicating date icon button in the textbox.
Declaration
[JsonProperty("showPopupButton")]
public bool ShowPopupButton { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ShowRoundedCorner
Gets or sets the value indicating the date picker input field and popup with rounded corners or not.
Declaration
[JsonProperty("showRoundedCorner")]
public bool ShowRoundedCorner { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets a value to customize the tooltip text while hovering on the days in the calendar.
Declaration
[JsonProperty("showTooltip")]
public bool ShowTooltip { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SpecialDates
Gets or sets a value indicating the special dats in the calendar.
Declaration
[JsonProperty("specialDates")]
public List<SpecialDates> SpecialDates { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.List<SpecialDates> |
|
StartDay
Gets or sets a value indicating the start day of the week in the calendar.
Declaration
[JsonProperty("startDay")]
public int StartDay { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
StartLevel
Gets or sets a value indicating the start level (days/month/year) view in the calendar.
Declaration
[JsonProperty("startLevel")]
[JsonConverter(typeof(StringEnumConverter))]
public Period StartLevel { get; set; }
Property Value
StepMonths
Gets or sets a value indicating the number of months to navigate for one click of next and previous buttons in the calendar.
Declaration
[JsonProperty("stepMonths")]
public int StepMonths { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Tag
Gets or sets the value indicating the tag of the date picker element.
Declaration
[JsonIgnore]
public string Tag { get; set; }
Property Value
Type |
Description |
System.String |
|
TagName
Gets or sets the name of the tag.
Declaration
[JsonProperty("tagName")]
public string TagName { get; set; }
Property Value
Type |
Description |
System.String |
|
TimeZone
Gets or sets a value based on the client timezone in datepicker.
Declaration
[JsonProperty("timeZone")]
public bool TimeZone { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets a value to customize the tooltip text format.
Declaration
[JsonProperty("tooltipFormat")]
public string TooltipFormat { get; set; }
Property Value
Type |
Description |
System.String |
|
ValidationMessage
Gets or sets jQuery validation messages for date picker input.
Declaration
[JsonProperty("validationMessage")]
public Dictionary<string, object> ValidationMessage { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
|
ValidationMessages
Gets or sets jQuery validation messages for date picker input.
Declaration
[JsonProperty("validationMessages")]
public Dictionary<string, object> ValidationMessages { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
|
ValidationRules
Gets or sets jQuery validation custom rules for date picker input.
Declaration
[JsonProperty("validationRules")]
public Dictionary<string, object> ValidationRules { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
|
Value
Gets or sets the date value in the date picker.
Declaration
[JsonProperty("value")]
public object Value { get; set; }
Property Value
Type |
Description |
System.Object |
|
WatermarkText
Gets or sets the place holder value for date picker input field.
Declaration
[JsonProperty("watermarkText")]
public string WatermarkText { get; set; }
Property Value
Type |
Description |
System.String |
|
WeekNumber
Gets or sets a value indicating whether to display the weekNumber of every week in calendar year in popup or not.
Declaration
[JsonProperty("weekNumber")]
public bool WeekNumber { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Width
Gets or sets a value indicating the width of the date picker input field.
Declaration
[JsonProperty("width")]
public string Width { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
GetControlDetails()
Declaration
protected override object GetControlDetails()
Returns
Type |
Description |
System.Object |
|
Overrides