Class ButtonStyle

Definition

Namespace:
Tizen.NUI.Components
Assembly:
Tizen.NUI.Components.dll
API Level:
8

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

C#
Copy
public class ButtonStyle : ControlStyle, INotifyPropertyChanged, IDynamicResourceHandler, IDisposable
Inheritance
Tizen.NUI.Components.ControlStyle
ButtonStyle
Derived
Implements

Constructors

View Source

ButtonStyle()

Creates a new instance of a ButtonStyle.

Declaration
C#
Copy
public ButtonStyle()
API Level: 8
View Source

ButtonStyle(ButtonStyle)

Creates a new instance of a ButtonStyle with style.

Declaration
C#
Copy
public ButtonStyle(ButtonStyle style)
Parameters
Type Name Description
ButtonStyle style

Create ButtonStyle by style customized by user.

API Level: 8

Properties

View Source

Icon

Icon's Style.

Declaration
C#
Copy
public ImageViewStyle Icon { get; set; }
Property Value
Type Description
Tizen.NUI.BaseComponents.ImageViewStyle
API Level: 8
View Source

IconPadding

Icon padding in Button. It is shortcut of Icon.Padding.

Declaration
C#
Copy
public Extents IconPadding { get; set; }
Property Value
Type Description
Extents
API Level: 8
View Source

IconRelativeOrientation

Icon relative orientation.

Declaration
C#
Copy
public Button.IconOrientation? IconRelativeOrientation { get; set; }
Property Value
Type Description
Nullable<Button.IconOrientation>
API Level: 8
View Source

IsEnabled

Flag to decide button can be selected or not.

Declaration
C#
Copy
public bool? IsEnabled { get; set; }
Property Value
Type Description
Nullable<Boolean>
API Level: 8
View Source

IsSelectable

Flag to decide Button can be selected or not.

Declaration
C#
Copy
public bool? IsSelectable { get; set; }
Property Value
Type Description
Nullable<Boolean>
API Level: 8
View Source

IsSelected

Flag to decide selected state in Button.

Declaration
C#
Copy
public bool? IsSelected { get; set; }
Property Value
Type Description
Nullable<Boolean>
API Level: 8
View Source

Overlay

Overlay image's Style.

Declaration
C#
Copy
public ImageViewStyle Overlay { get; set; }
Property Value
Type Description
Tizen.NUI.BaseComponents.ImageViewStyle
API Level: 8
View Source

Text

Text's Style.

Declaration
C#
Copy
public TextLabelStyle Text { get; set; }
Property Value
Type Description
Tizen.NUI.BaseComponents.TextLabelStyle
API Level: 8
View Source

TextPadding

Text padding in Button. It is shortcut of Text.Padding.

Declaration
C#
Copy
public Extents TextPadding { get; set; }
Property Value
Type Description
Extents
API Level: 8

Methods

View Source

CopyFrom(BindableObject)

Declaration
C#
Copy
public override void CopyFrom(BindableObject bindableObject)
Parameters
Type Name Description
BindableObject bindableObject
Overrides
Tizen.NUI.BaseComponents.ViewStyle.CopyFrom(Tizen.NUI.Binding.BindableObject)
API Level: 8

Implements