Class ImageTextButtonStyle
- Namespace
- Myra.Graphics2D.UI.Styles
- Assembly
- Myra.dll
Style class that defines the visual appearance of image-text button widgets (buttons with both icon and text).
public class ImageTextButtonStyle : CheckButtonStyle
- Inheritance
-
ImageTextButtonStyle
- Inherited Members
Constructors
ImageTextButtonStyle()
Initializes a new instance of the ImageTextButtonStyle class.
public ImageTextButtonStyle()
ImageTextButtonStyle(ImageTextButtonStyle)
Initializes a new instance of the ImageTextButtonStyle class by copying properties from another style.
public ImageTextButtonStyle(ImageTextButtonStyle style)
Parameters
styleImageTextButtonStyleThe source image-text button style to copy from.
Properties
LabelStyle
Gets or sets the style applied to the button's text label.
[Browsable(false)]
public LabelStyle LabelStyle { get; set; }
Property Value
Methods
Clone()
Creates a deep copy of this image-text button style.
public override WidgetStyle Clone()
Returns
- WidgetStyle
A new ImageTextButtonStyle instance with the same properties.