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