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