Table of Contents

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

style ButtonStyle

The 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.