Table of Contents

ExLabel

ExLabel is a Label whose text keeps its own color when the label is disabled. Windows computes the text color of a disabled Label from the background, which makes it almost black on a dark background.

The screenshots show ExLabel on the left and a standard Label on the right.

Properties

Property Description
DisabledForeColor Text color of a disabled label, DimGray by default.

Theme

The theme sets ForeColor to LabelForeColor, also in the system style, and in the custom style DisabledForeColor to the label color faded towards PanelBackColor, like the text of a disabled ExButton.

API