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.
public class ButtonStyle : ControlStyle, INotifyPropertyChanged, IDynamicResourceHandler, IDisposable
- Inheritance
-
Tizen.NUI.Binding.BindableObjectTizen.NUI.BaseComponents.ViewStyleTizen.NUI.Components.ControlStyleButtonStyle
- Derived
- Implements
Constructors
View SourceButtonStyle()
Creates a new instance of a ButtonStyle.
Declaration
public ButtonStyle()
API Level: 8
View SourceButtonStyle(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. |
API Level: 8
Properties
View SourceIcon
Icon's Style.
Declaration
public ImageViewStyle Icon { get; set; }
Property Value
Type | Description |
---|---|
Tizen.NUI.BaseComponents.ImageViewStyle |
API Level: 8
View SourceIconPadding
Icon padding in Button, work only when show icon and text.
Declaration
public Extents IconPadding { get; set; }
Property Value
Type | Description |
---|---|
Extents |
API Level: 8
View SourceIconRelativeOrientation
Icon relative orientation.
Declaration
public Button.IconOrientation? IconRelativeOrientation { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Button.IconOrientation> |
API Level: 8
View SourceIsEnabled
Flag to decide button can be selected or not.
Declaration
public bool? IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
API Level: 8
View SourceIsSelectable
Flag to decide Button can be selected or not.
Declaration
public bool? IsSelectable { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
API Level: 8
View SourceIsSelected
Flag to decide selected state in Button.
Declaration
public bool? IsSelected { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
API Level: 8
View SourceOverlay
Overlay image's Style.
Declaration
public ImageViewStyle Overlay { get; set; }
Property Value
Type | Description |
---|---|
Tizen.NUI.BaseComponents.ImageViewStyle |
API Level: 8
View SourceText
Text's Style.
Declaration
public TextLabelStyle Text { get; set; }
Property Value
Type | Description |
---|---|
Tizen.NUI.BaseComponents.TextLabelStyle |
API Level: 8
View SourceTextPadding
Text padding in Button, work only when show icon and text.
Declaration
public Extents TextPadding { get; set; }
Property Value
Type | Description |
---|---|
Extents |
API Level: 8
Methods
View SourceCopyFrom(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)