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