ExListBox
ExListBox is a ListBox that draws its border with its own color and thickness, the selected rows in their own
colors and a disabled list in its own colors.
Custom style
| Property | Description |
|---|---|
DefaultStyle |
true (default) leaves the drawing to Windows, false uses the custom style. |
BorderColor, BorderThickness |
Border of the list. |
SelectedRowBackColor, SelectedRowForeColor |
Background and text of the selected rows. |
DisabledBorderColor, DisabledBackColor, DisabledForeColor |
Colors of a disabled list, which doesn't show its selection. |
Theme
| Theme color | Used for |
|---|---|
BoxBackColor, BoxForeColor |
Background and text, also in the system style. |
HighlightBackColor, HighlightForeColor |
Selected rows. |
BorderColor |
Border, also of a disabled list. |
PanelBackColor |
Background of a disabled list, its text is BoxForeColor faded towards it. |
DarkScrollBars |
Scroll bars. |
In the custom style a list with a border gets a 1 px border (BorderStyle.FixedSingle), a list without a border stays
without one. A list designed with DefaultStyle = false keeps the custom style also when a theme with
UseSystemStyle is applied.


