menu

ASP.NET Web Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MobileToggleButtonProperties

    Show / Hide Table of Contents

    Class MobileToggleButtonProperties

    Class for MobileToggleButtonProperties

    Inheritance
    System.Object
    EJTagHelper
    PropertiesBase
    MobileToggleButtonProperties
    Implements
    IMobileBase
    Inherited Members
    PropertiesBase.Create
    PropertiesBase.Destroy
    PropertiesBase.CssClass
    EJTagHelper.GetControlDetails()
    EJTagHelper.GetControlDetails(String)
    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()
    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

    true if animate; otherwise, false.

    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

    true if animate; otherwise, false.

    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

    true if animate; otherwise, false.

    RenderMode

    Specifies the rendering mode of the control.

    Declaration
    [JsonConverter(typeof(StringEnumConverter))]
    [JsonProperty("renderMode")]
    public RenderMode RenderMode { get; set; }
    Property Value
    Type Description
    RenderMode

    The rendermode.

    Theme

    Specifies the theme.

    Declaration
    [JsonProperty("theme")]
    [JsonConverter(typeof(StringEnumConverter))]
    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

    true if [toggle state]; otherwise, false.

    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.

    Implements

    IMobileBase
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved