Table of Contents

Class CheckButtonStyle

Namespace
Myra.Graphics2D.UI.Styles
Assembly
Myra.dll

Style class that defines the visual appearance of check button widgets.

public class CheckButtonStyle : ImageButtonStyle
Inheritance
CheckButtonStyle
Derived
Inherited Members

Constructors

CheckButtonStyle()

Initializes a new instance of the CheckButtonStyle class.

public CheckButtonStyle()

CheckButtonStyle(CheckButtonStyle)

Initializes a new instance of the CheckButtonStyle class as a deep copy of the specified style.

public CheckButtonStyle(CheckButtonStyle style)

Parameters

style CheckButtonStyle

The style to copy.

Properties

ImageTextSpacing

Gets or sets the spacing between the image and text in the check button.

public int ImageTextSpacing { get; set; }

Property Value

int

Methods

Clone()

Creates a deep copy of this button style.

public override WidgetStyle Clone()

Returns

WidgetStyle

A new ButtonStyle instance with the same properties.