Class ButtonStyle

    Definition

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

    ButtonStyle is a class which saves Button's ux data.

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

    Constructors

    View Source

    ButtonStyle()

    Creates a new instance of a ButtonStyle.

    Declaration
    public ButtonStyle()
    View Source

    ButtonStyle(ButtonStyle)

    Creates a new instance of a ButtonStyle with style.

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

    Create ButtonStyle by style customized by user.

    Properties

    View Source

    Icon

    Icon's Style.

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

    IconPadding

    Icon padding in Button, work only when show icon and text.

    Declaration
    public Extents IconPadding { get; set; }
    Property Value
    Type Description
    Extents
    View Source

    IconRelativeOrientation

    Icon relative orientation.

    Declaration
    public Button.IconOrientation? IconRelativeOrientation { get; set; }
    Property Value
    Type Description
    Button.IconOrientation?
    View Source

    IsEnabled

    Flag to decide button can be selected or not.

    Declaration
    public bool? IsEnabled { get; set; }
    Property Value
    Type Description
    bool?
    View Source

    IsSelectable

    Flag to decide Button can be selected or not.

    Declaration
    public bool? IsSelectable { get; set; }
    Property Value
    Type Description
    bool?
    View Source

    IsSelected

    Flag to decide selected state in Button.

    Declaration
    public bool? IsSelected { get; set; }
    Property Value
    Type Description
    bool?
    View Source

    Overlay

    Overlay image's Style.

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

    Text

    Text's Style.

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

    TextPadding

    Text padding in Button, work only when show icon and text.

    Declaration
    public Extents TextPadding { get; set; }
    Property Value
    Type Description
    Extents

    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
    Tizen.NUI.Binding.BindableObject.CopyFrom(Tizen.NUI.Binding.BindableObject)

    Implements

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