Enum ResetColorType
Enumerates possible reset color methods.
public enum ResetColorType
Fields
Auto = 0Uses default method best for the current operating system.
ColorActiveCaption = 8Uses "SystemColors.ActiveCaption" for the background color and "SystemColors.ActiveCaptionText" for the foreground color.
ColorButtonFace = 13Uses "SystemColors.ButtonFace" for the background color and "SystemColors.ControlText" for the foreground color.
ColorHighlight = 12Uses "SystemColors.Highlight" for the background color and "SystemColors.HighlightText" for the foreground color.
ColorInactiveCaption = 9Uses "SystemColors.InactiveCaption" for the background color and "SystemColors.InactiveCaptionText" for the foreground color.
ColorInfo = 10Uses "SystemColors.Info" for the background color and "SystemColors.InfoText" for the foreground color.
ColorMenu = 7Uses "SystemColors.Menu" for the background color and "SystemColors.MenuText" for the foreground color.
ColorWindow = 11Uses "SystemColors.Window" for the background color and "SystemColors.WindowText" for the foreground color.
DefaultAttributes = 3Uses colors from the default attributes record for the control.
DefaultAttributesButton = 6Uses colors from the default attributes record for the
Buttoncontrol.DefaultAttributesListBox = 5Uses colors from the default attributes record for the
ListBoxcontrol.DefaultAttributesTextBox = 4Uses colors from the default attributes record for the
TextBoxcontrol.EmptyColor = 1Uses an empty color.
NullColor = 2Uses
null.