Class MobileToggleButtonProperties
Class for MobileToggleButtonProperties
Implements
Inherited Members
Namespace: Syncfusion.JavaScript.Mobile.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class MobileToggleButtonProperties : PropertiesBase, IMobileBase
Constructors
MobileToggleButtonProperties()
Initializes a new instance of the MobileToggleButtonProperties class.
Declaration
public MobileToggleButtonProperties()
Properties
Animate
Specifies the transition effect for state change.
Declaration
[JsonProperty("animate")]
public bool Animate { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Change
Event triggers when the state change occurs.
Declaration
[JsonProperty("change")]
public string Change { get; set; }
Property Value
Type | Description |
---|---|
System.String | The change. |
Enabled
Specifies whether to enable or disable the control.
Declaration
[JsonProperty("enabled")]
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnablePersistence
Specifies to maintain the current model value to browser cookies for state maintenance. While refresh the page, the model value will get apply to the control from browser cookies.
Declaration
[JsonProperty("enablePersistence")]
public bool EnablePersistence { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
RenderMode
Specifies the rendering mode of the control.
Declaration
[JsonProperty("renderMode")]
[JsonConverter(typeof(StringEnumConverter))]
public RenderMode RenderMode { get; set; }
Property Value
Type | Description |
---|---|
RenderMode | The rendermode. |
Theme
Specifies the theme.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("theme")]
public Theme Theme { get; set; }
Property Value
Type | Description |
---|---|
Theme | The theme. |
ToggleState
Specifies whether state is on or off.
Declaration
[JsonProperty("toggleState")]
public bool ToggleState { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
TouchEnd
Event triggers when touch end happens on the control.
Declaration
[JsonProperty("touchEnd")]
public string TouchEnd { get; set; }
Property Value
Type | Description |
---|---|
System.String | The touch end. |
TouchStart
Event triggers when touch start happens on the control.
Declaration
[JsonProperty("touchStart")]
public string TouchStart { get; set; }
Property Value
Type | Description |
---|---|
System.String | The touch start. |
Windows
Section for windows mode specific functionalities.
Declaration
[JsonProperty("windows")]
public MobileToggleButtonWindowsProperties Windows { get; set; }
Property Value
Type | Description |
---|---|
MobileToggleButtonWindowsProperties | The windows. |