Class MobileTimePickerPropertiesBuilder
Class for TimePicker Property Builder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript.Mobile
Assembly: Syncfusion.EJ.dll
Syntax
public class MobileTimePickerPropertiesBuilder : IPropertiesBuilder, IHtmlString
Constructors
MobileTimePickerPropertiesBuilder(TimePicker)
Initializes a new instance of the MobileTimePickerPropertiesBuilder class.
Declaration
public MobileTimePickerPropertiesBuilder(TimePicker mTimePicker)
Parameters
Type | Name | Description |
---|---|---|
TimePicker | mTimePicker | The m time picker. |
Methods
ClientSideEvents(Action<MobileTimePickerClientSideEventsBuilder>)
Section for client side events.
Declaration
public MobileTimePickerPropertiesBuilder ClientSideEvents(Action<MobileTimePickerClientSideEventsBuilder> clientSideEvents)
Parameters
Type | Name | Description |
---|---|---|
System.Action<MobileTimePickerClientSideEventsBuilder> | clientSideEvents | The client side events. |
Returns
Type | Description |
---|---|
MobileTimePickerPropertiesBuilder |
CssClass(String)
Specifies custom css class for the control.
Declaration
public MobileTimePickerPropertiesBuilder CssClass(string cssClass)
Parameters
Type | Name | Description |
---|---|---|
System.String | cssClass | The cssClass. |
Returns
Type | Description |
---|---|
MobileTimePickerPropertiesBuilder |
Culture(String)
Specifies the TimePicker culture.
Declaration
public MobileTimePickerPropertiesBuilder Culture(string culture)
Parameters
Type | Name | Description |
---|---|---|
System.String | culture | The culture. |
Returns
Type | Description |
---|---|
MobileTimePickerPropertiesBuilder |
Enabled(Boolean)
Specifies the TimePicker enabled.
Declaration
public MobileTimePickerPropertiesBuilder Enabled(bool enabled)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enabled | if set to |
Returns
Type | Description |
---|---|
MobileTimePickerPropertiesBuilder | MobileTimePickerPropertiesBuilder. |
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 MobileTimePickerPropertiesBuilder EnablePersistence(bool enablePersistence)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enablePersistence | if set to |
Returns
Type | Description |
---|---|
MobileTimePickerPropertiesBuilder |
HourFormat(HourFormat)
Specifies the TimePicker hourFormat.
Declaration
public MobileTimePickerPropertiesBuilder HourFormat(HourFormat hourformat)
Parameters
Type | Name | Description |
---|---|---|
HourFormat | hourformat |
Returns
Type | Description |
---|---|
MobileTimePickerPropertiesBuilder |
Render()
Declaration
public void Render()
RenderMode(RenderMode)
Specifies the TimePicker renderMode.
Declaration
public MobileTimePickerPropertiesBuilder RenderMode(RenderMode renderMode)
Parameters
Type | Name | Description |
---|---|---|
RenderMode | renderMode | The render mode. |
Returns
Type | Description |
---|---|
MobileTimePickerPropertiesBuilder |
TimeFormat(String)
Specifies the TimePicker timeFormat.
Declaration
public MobileTimePickerPropertiesBuilder TimeFormat(string timeFormat)
Parameters
Type | Name | Description |
---|---|---|
System.String | timeFormat | The time format. |
Returns
Type | Description |
---|---|
MobileTimePickerPropertiesBuilder |
ToHtmlString()
Declaration
public string ToHtmlString()
Returns
Type | Description |
---|---|
System.String |
Value(String)
Specifies the TimePicker value.
Declaration
public MobileTimePickerPropertiesBuilder Value(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value. |
Returns
Type | Description |
---|---|
MobileTimePickerPropertiesBuilder | MobileTimePickerPropertiesBuilder. |