Class ButtonStyle
- Namespace
- Myra.Graphics2D.UI.Styles
- Assembly
- Myra.dll
Defines the style of a button.
public class ButtonStyle : WidgetStyle
- Inheritance
-
ButtonStyle
- Derived
- Inherited Members
Constructors
ButtonStyle()
Initializes a new instance of the ButtonStyle class.
public ButtonStyle()
ButtonStyle(ButtonStyle)
Initializes a new instance of the ButtonStyle class by copying properties from another style.
public ButtonStyle(ButtonStyle style)
Parameters
styleButtonStyleThe source button style to copy from.
Methods
Clone()
Creates a deep copy of this style.
public override WidgetStyle Clone()
Returns
- WidgetStyle
A new ButtonStyle instance with the same properties.