TextPatternIdentifiers.ForegroundColorAttribute Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies the ForegroundColor (COLORREF) attribute of a text range.
public: static initonly System::Windows::Automation::AutomationTextAttribute ^ ForegroundColorAttribute;
public static readonly System.Windows.Automation.AutomationTextAttribute ForegroundColorAttribute;
staticval mutable ForegroundColorAttribute : System.Windows.Automation.AutomationTextAttribute
Public Shared ReadOnly ForegroundColorAttribute As AutomationTextAttribute
Field Value
Remarks
Foreground color is equivalent to the text or font color.
This identifier is used by UI Automation providers. UI Automation client applications should use the equivalent field in TextPattern.
Values for this attribute are of type Int32.
The default value is a null
reference (Nothing
in Visual Basic).