Table of Contents

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

style WindowStyle

The 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

ImageButtonStyle

TitleStyle

Gets or sets the style applied to the window's title bar text.

[Browsable(false)]
public LabelStyle TitleStyle { get; set; }

Property Value

LabelStyle

Methods

Clone()

Creates a deep copy of this window style.

public override WidgetStyle Clone()

Returns

WidgetStyle

A new WindowStyle instance with the same properties.