Export (0) Print
Expand All

TextPatternIdentifiers.ForegroundColorAttribute Field

Identifies the ForegroundColor (COLORREF) attribute of a text range.

Namespace:  System.Windows.Automation
Assembly:  UIAutomationTypes (in UIAutomationTypes.dll)

public static readonly AutomationTextAttribute ForegroundColorAttribute

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 Microsoft Visual Basic .NET).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft