Version

AutomaticColorUsageType Enumeration

Provides a context where a color is being used to resolve automatic colors.
Syntax
'Declaration
 
Public Enum AutomaticColorUsageType 
   Inherits System.Enum
public enum AutomaticColorUsageType : System.Enum 
Members
MemberDescription
BackgroundThe color is being used as a background color so automatic colors will resolve to transparent.
BordersThe color is being used as a border color so automatic colors will resolve to SystemColors.WindowTextColor.
ForegroundThe color is being used as a foreground color so automatic colors will resolve to SystemColors.WindowTextColor.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also