Table of Contents

Class SpinButtonStyle

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

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

public class SpinButtonStyle : WidgetStyle
Inheritance
SpinButtonStyle
Inherited Members

Constructors

SpinButtonStyle()

Initializes a new instance of the SpinButtonStyle class.

public SpinButtonStyle()

SpinButtonStyle(SpinButtonStyle)

Initializes a new instance of the SpinButtonStyle class by copying properties from another style.

public SpinButtonStyle(SpinButtonStyle style)

Parameters

style SpinButtonStyle

The source spin button style to copy from.

Properties

DownButtonStyle

Gets or sets the style applied to the spin button's down decrement button.

public ImageButtonStyle DownButtonStyle { get; set; }

Property Value

ImageButtonStyle

TextBoxStyle

Gets or sets the style applied to the spin button's text input field.

public TextBoxStyle TextBoxStyle { get; set; }

Property Value

TextBoxStyle

UpButtonStyle

Gets or sets the style applied to the spin button's up increment button.

public ImageButtonStyle UpButtonStyle { get; set; }

Property Value

ImageButtonStyle

Methods

Clone()

Creates a deep copy of this spin button style.

public override WidgetStyle Clone()

Returns

WidgetStyle

A new SpinButtonStyle instance with the same properties.