ControlStyle Members
The ControlStyle type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ControlStyle()()()() |
Initializes a new instance of the [ControlStyle] class.
|
|
ControlStyle(ControlStyle) |
Initializes a new instance of the [ControlStyle] class.
|
|
ControlStyle(Style) |
Initializes a new instance of the [ControlStyle] class.
|
Methods
Name | Description | |
---|---|---|
Copy |
Copies this instance.
|
|
Paste(ControlStyle) |
Pastes the specified style.
|
|
Paste(Style) |
Pastes the specified style.
|
Properties
Name | Description | |
---|---|---|
BackColor |
background color (argb)
|
|
Checked |
Gets or sets the checked.
|
|
CheckedDisabled |
Gets or sets the checked disabled.
|
|
CheckedFocused |
Gets or sets the checked focused.
|
|
CheckedHot |
Gets or sets the checked hot.
|
|
CheckedPressed |
Gets or sets the checked pressed.
|
|
Default |
Gets or sets the default.
|
|
Disabled |
Gets or sets the disabled.
|
|
Focused |
Gets or sets the focused.
|
|
Font |
name of the font to use for text
|
|
Grid |
describes the 9sclice texture regions expressed as margin
|
|
Hot |
Gets or sets the hot.
|
|
Opacity |
opacity (0-1)
|
|
Pressed |
Gets or sets the pressed.
|
|
Selected |
Gets or sets the selected.
|
|
SelectedDisabled |
Gets or sets the selected disabled.
|
|
SelectedFocused |
Gets or sets the selected focused.
|
|
SelectedHot |
Gets or sets the selected hot.
|
|
SelectedPressed |
Gets or sets the selected pressed.
|
|
Styles |
Gets or sets the styles.
|
|
Tag |
user data
|
|
TextAlign |
text alignment
|
|
TextColor |
color for any text to be drawn (argb)
|
|
TextPadding |
text padding (distance to control borders)
|
|
Texture |
name of the texture to draw
|
|
TextureRect |
source rectangle of the texture expressed in pixels
|
|
Tiling |
texture tiling mode
|
|
Tint |
color to tint the texture (argb)
|