Color legend plain property dependency property method event
The style class of CheckBox: the properties a style can set on it. Part styles TextStyle (LabelStyle) and ImageStyle (ImageStyle). Leaves out Content. Framework defaults: CheckedSolidColor DefaultCheckBoxCheckedColor, UncheckedSolidColor DefaultCheckBoxUncheckedColor.
A class deriving from BaseStyle. The styles page shows it in context.
Names are colored by what they are: a property, a method or an event; values and fields keep the plain color.
Properties
Checked 馃爢
bool 路 Whether the box is checked. Setting it raises OnCheckedUnchecked, and checking a radio button unchecks the others of its group.
CheckedSolidColor 馃爢
Color 路 The color of the box while it is checked, without textures. (86, 156, 214) unless set (DefaultSettings.DefaultCheckBoxCheckedColor).
Direction 馃爢
CheckBoxDirection 路 Which side of the content the box is on: Left (the default) or Right.
GroupId 馃爢
string 路 The group of a radio button: the radio buttons in the tree with the same id uncheck each other. Not used by a CheckBox.
ImageStyle 馃爢
ImageStyle 路 The style of the image that draws the box.
Text 馃爢
string 路 Creates a Label content showing this text, styled by TextStyle.
TextStyle 馃爢
LabelStyle 路 The style of the text content made from Text.
Type 馃爢
CheckBoxType 路 CheckBox (the default) or RadioButton.
UncheckedSolidColor 馃爢
Color 路 The color of the box while it is unchecked, without textures. (150, 150, 160) unless set (DefaultSettings.DefaultCheckBoxUncheckedColor).
Methods
CheckBoxStyle()
IsSet() 馃爢
IsSet(string propertyName) 路 Whether the property is assigned to this style, so the style applies it. Pass the name with nameof; an unknown name gives false.
| Parameter | Type | Description |
|---|---|---|
propertyName |
string |
The name of a property of the style; nameof keeps it right. |