ExCheckBox and ExRadioButton
ExCheckBox and ExRadioButton draw the box or circle, the mark and the text in their own colors, including the text of
a disabled control, which Windows draws in a fixed gray.
Custom style
Both controls keep the whole API of CheckBox and RadioButton, including CheckState.Indeterminate, TextAlign and
CheckAlign. With DefaultStyle = false they draw themselves:
| Property | Description |
|---|---|
BorderColor |
Border of the box or circle. |
BoxBackColor |
Background of the box or circle. |
MarkColor |
Check mark, indeterminate square and radio mark. |
HighlightColor |
Border and mark under the mouse. |
DisabledForeColor |
Text and box of a disabled control. |
Every color property raises its own …Changed event. Both controls implement ICheckableExControl, whose box and text
ExButtonRenderer.GetBoxAndTextRectangle lays out by CheckAlign, TextAlign and RightToLeft.
Theme
| Theme color | ExCheckBox |
ExRadioButton |
|---|---|---|
BorderColor |
Border of the box. | |
MarkColor |
Check mark. | Border of the circle and the mark. |
BoxBackColor |
Background of the box. | |
PanelBackColor |
Background of the circle. | |
HighlightBackColor |
Border and mark under the mouse. | Border and mark under the mouse. |
The text keeps ForeColor, which the control inherits from its parent.


