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
-
System.Object
Tizen.NUI.Components.ControlStyle
ButtonStyle
- Derived
-
Tizen.NUI.Components.Extension.LottieButtonStyle
Tizen.NUI.Components.OverlayAnimationButtonStyle
Tizen.NUI.Components.TabButtonStyle
- Implements
-
System.ComponentModel.INotifyPropertyChanged
System.IDisposable
Constructors
Declaration
API Level: 8
View Source
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
Declaration
public ImageViewStyle Icon { get; set; }
Property Value
Type |
Description |
Tizen.NUI.BaseComponents.ImageViewStyle |
|
API Level: 8
View Source
Icon padding in Button. It is shortcut of Icon.Padding.
Declaration
public Extents IconPadding { get; set; }
Property Value
API Level: 8
Declaration
public Button.IconOrientation? IconRelativeOrientation { get; set; }
Property Value
API Level: 8
View Source
Flag to decide button can be selected or not.
Declaration
public bool? IsEnabled { get; set; }
Property Value
Type |
Description |
System.Nullable<Boolean> |
|
API Level: 8
View Source
Flag to decide Button can be selected or not.
Declaration
public bool? IsSelectable { get; set; }
Property Value
Type |
Description |
System.Nullable<Boolean> |
|
API Level: 8
Declaration
public bool? IsSelected { get; set; }
Property Value
Type |
Description |
System.Nullable<Boolean> |
|
API Level: 8
Declaration
public ImageViewStyle Overlay { get; set; }
Property Value
Type |
Description |
Tizen.NUI.BaseComponents.ImageViewStyle |
|
API Level: 8
Declaration
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
public Extents TextPadding { get; set; }
Property Value
API Level: 8
Methods
Declaration
public override void CopyFrom(BindableObject bindableObject)
Parameters
Overrides
Tizen.NUI.BaseComponents.ViewStyle.CopyFrom(Tizen.NUI.Binding.BindableObject)
API Level: 8
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable