Class MobileDatePickerPropertiesBuilder
Class for DatePicker Property Builder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript.Mobile
Assembly: Syncfusion.EJ.dll
Syntax
public class MobileDatePickerPropertiesBuilder : IPropertiesBuilder, IHtmlString
Constructors
MobileDatePickerPropertiesBuilder(DatePicker)
Initializes a new instance of the MobileDatePickerPropertiesBuilder class.
Declaration
public MobileDatePickerPropertiesBuilder(DatePicker mDatePicker)
Parameters
Type | Name | Description |
---|---|---|
DatePicker | mDatePicker | The m date picker. |
Methods
ClientSideEvents(Action<MobileDatePickerClientSideEventsBuilder>)
Section for Client side events.
Declaration
public MobileDatePickerPropertiesBuilder ClientSideEvents(Action<MobileDatePickerClientSideEventsBuilder> clientSideEvents)
Parameters
Type | Name | Description |
---|---|---|
System.Action<MobileDatePickerClientSideEventsBuilder> | clientSideEvents | The client side events. |
Returns
Type | Description |
---|---|
MobileDatePickerPropertiesBuilder |
CssClass(String)
Specifies custom css class for the control.
Declaration
public MobileDatePickerPropertiesBuilder CssClass(string cssClass)
Parameters
Type | Name | Description |
---|---|---|
System.String | cssClass | The cssClass. |
Returns
Type | Description |
---|---|
MobileDatePickerPropertiesBuilder |
Culture(String)
Specifies the culture in DatePicker.
Declaration
public MobileDatePickerPropertiesBuilder Culture(string culture)
Parameters
Type | Name | Description |
---|---|---|
System.String | culture | The culture. |
Returns
Type | Description |
---|---|
MobileDatePickerPropertiesBuilder |
DateFormat(String)
Specifies the dateFormat of DatePicker.
Declaration
public MobileDatePickerPropertiesBuilder DateFormat(string dateFormat)
Parameters
Type | Name | Description |
---|---|---|
System.String | dateFormat | The date format. |
Returns
Type | Description |
---|---|
MobileDatePickerPropertiesBuilder |
Enabled(Boolean)
Specifies whether to enabled or disbale DatePicker.
Declaration
public MobileDatePickerPropertiesBuilder Enabled(bool enabled)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enabled | if set to |
Returns
Type | Description |
---|---|
MobileDatePickerPropertiesBuilder | MobileDatePickerPropertiesBuilder. |
EnablePersistence(Boolean)
Current model value to browser cookies for state maintains. While refresh the Header control page retains the model value apply from browser cookies.
Declaration
public MobileDatePickerPropertiesBuilder EnablePersistence(bool enablePersistence)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enablePersistence | if set to |
Returns
Type | Description |
---|---|
MobileDatePickerPropertiesBuilder |
MaximumDate(String)
Specifies the maximum selectable date in DatePicker.
Declaration
public MobileDatePickerPropertiesBuilder MaximumDate(string maximumDate)
Parameters
Type | Name | Description |
---|---|---|
System.String | maximumDate | The maximum date. |
Returns
Type | Description |
---|---|
MobileDatePickerPropertiesBuilder |
MinimumDate(String)
Specifies the minimum selectable date in DatePicker.
Declaration
public MobileDatePickerPropertiesBuilder MinimumDate(string minimumDate)
Parameters
Type | Name | Description |
---|---|---|
System.String | minimumDate | The minimum date. |
Returns
Type | Description |
---|---|
MobileDatePickerPropertiesBuilder |
Render()
Declaration
public void Render()
RenderMode(RenderMode)
Changes the rendering mode of the DatePicker.
Declaration
public MobileDatePickerPropertiesBuilder RenderMode(RenderMode renderMode)
Parameters
Type | Name | Description |
---|---|---|
RenderMode | renderMode | The render mode. |
Returns
Type | Description |
---|---|
MobileDatePickerPropertiesBuilder |
ToHtmlString()
Declaration
public string ToHtmlString()
Returns
Type | Description |
---|---|
System.String |
Value(String)
Specifies the value of the DatePicker .
Declaration
public MobileDatePickerPropertiesBuilder Value(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value. |
Returns
Type | Description |
---|---|
MobileDatePickerPropertiesBuilder | MobileDatePickerPropertiesBuilder. |