OPC Studio User's Guide and Reference
PromptForegroundColor Property



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Console.Interaction Namespace > ConsoleInteractionParameters Class : PromptForegroundColor Property
The foreground color used for prompts.
Syntax
'Declaration
 
Public ReadOnly Property PromptForegroundColor As ConsoleColor
'Usage
 
Dim instance As ConsoleInteractionParameters
Dim value As ConsoleColor
 
value = instance.PromptForegroundColor
public ConsoleColor PromptForegroundColor {get;}
public:
property ConsoleColor PromptForegroundColor {
   ConsoleColor get();
}

Property Value

The default value of this property is Black (ConsoleColor.Black).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also