ExColorSelector
ExColorSelector shows a color. A click opens a color dialog that changes it.
Properties
| Member | Description |
|---|---|
SelectedColor |
The shown color. |
SelectedColorChanged |
The user chose another color in the dialog, or the code set SelectedColor. |
BorderColor, BorderWidth, BorderStyle |
Border around the color. |
Dialog |
The ColorDialog opened by a click, for example to set CustomColors or FullOpen. |
var background = new ExColorSelector { SelectedColor = settings.BackColor };
background.Dialog.FullOpen = true;
background.SelectedColorChanged += (_, _) => settings.BackColor = background.SelectedColor;
Theme
The theme sets the panel colors (PanelBackColor, PanelForeColor), also in the system style, and in the custom style
the border to BorderColor.


