Class Button
Extends the Tizen.NUI.Components.Button, providing Tizen.UIExtensions.Common data struct
Inheritance
System.Object
Button
Implements
Namespace: Tizen.UIExtensions.NUI
Assembly: Tizen.UIExtensions.NUI.dll
Syntax
public class Button : NUI.Components.Button, IMeasurable
Constructors
Button()
Declaration
public Button()
Properties
FontAttributes
Gets a value that indicates whether the font for the label is bold, italic, or neither
Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
Type | Description |
---|---|
FontAttributes |
FontSize
Gets or sets the font size for the text.
Declaration
public double FontSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The size of the font as point unit |
TextColor
Gets or sets the color of the formatted text.
Declaration
public Color TextColor { get; set; }
Property Value
Type | Description |
---|---|
Color | The color of the text. |
Methods
Measure(Double, Double)
Declaration
public Size Measure(double availableWidth, double availableHeight)
Parameters
Type | Name | Description |
---|---|---|
System.Double | availableWidth | |
System.Double | availableHeight |
Returns
Type | Description |
---|---|
Size |