ControlStyle Members

The ControlStyle type exposes the following members.

Constructors


  Name Description
Public method ControlStyle()()()()
Initializes a new instance of the [ControlStyle] class.
Public method ControlStyle(ControlStyle)
Initializes a new instance of the [ControlStyle] class.
Public method ControlStyle(Style)
Initializes a new instance of the [ControlStyle] class.

Methods


  Name Description
Public method Copy
Copies this instance.
Public method Paste(ControlStyle)
Pastes the specified style.
Public method Paste(Style)
Pastes the specified style.

Properties


  Name Description
Public property BackColor
background color (argb)
Public property Checked
Gets or sets the checked.
Public property CheckedDisabled
Gets or sets the checked disabled.
Public property CheckedFocused
Gets or sets the checked focused.
Public property CheckedHot
Gets or sets the checked hot.
Public property CheckedPressed
Gets or sets the checked pressed.
Public property Default
Gets or sets the default.
Public property Disabled
Gets or sets the disabled.
Public property Focused
Gets or sets the focused.
Public property Font
name of the font to use for text
Public property Grid
describes the 9sclice texture regions expressed as margin
Public property Hot
Gets or sets the hot.
Public property Opacity
opacity (0-1)
Public property Pressed
Gets or sets the pressed.
Public property Selected
Gets or sets the selected.
Public property SelectedDisabled
Gets or sets the selected disabled.
Public property SelectedFocused
Gets or sets the selected focused.
Public property SelectedHot
Gets or sets the selected hot.
Public property SelectedPressed
Gets or sets the selected pressed.
Public property Styles
Gets or sets the styles.
Public property Tag
user data
Public property TextAlign
text alignment
Public property TextColor
color for any text to be drawn (argb)
Public property TextPadding
text padding (distance to control borders)
Public property Texture
name of the texture to draw
Public property TextureRect
source rectangle of the texture expressed in pixels
Public property Tiling
texture tiling mode
Public property Tint
color to tint the texture (argb)