Class SwitchStyle

    Definition

    Namespace:
    Tizen.NUI.Components
    Assembly:
    Tizen.NUI.Components.dll

    SwitchStyle is a class which saves Switch's ux data.

    public class SwitchStyle : ButtonStyle, INotifyPropertyChanged, IDisposable
    Inheritance
    object
    Tizen.NUI.Binding.BindableObject
    Tizen.NUI.BaseComponents.ViewStyle
    Tizen.NUI.Components.ControlStyle
    ButtonStyle
    SwitchStyle
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable

    Constructors

    View Source

    SwitchStyle()

    Creates a new instance of a SwitchStyle.

    Declaration
    public SwitchStyle()
    View Source

    SwitchStyle(SwitchStyle)

    Creates a new instance of a SwitchStyle with style.

    Declaration
    public SwitchStyle(SwitchStyle style)
    Parameters
    Type Name Description
    SwitchStyle style

    Create SwitchStyle by style customized by user.

    Properties

    View Source

    Thumb

    Thumb image's style.

    Declaration
    public ImageViewStyle Thumb { get; set; }
    Property Value
    Type Description
    Tizen.NUI.BaseComponents.ImageViewStyle
    View Source

    Track

    Track image's style.

    Declaration
    public ImageViewStyle Track { get; set; }
    Property Value
    Type Description
    Tizen.NUI.BaseComponents.ImageViewStyle

    Methods

    View Source

    CopyFrom(BindableObject)

    Style's clone function.

    Declaration
    public override void CopyFrom(BindableObject bindableObject)
    Parameters
    Type Name Description
    Tizen.NUI.Binding.BindableObject bindableObject

    The style that need to copy.

    Overrides
    ButtonStyle.CopyFrom(BindableObject)

    Implements

    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX