Szerkesztés

Megosztás a következőn keresztül:


TextPatternIdentifiers.ForegroundColorAttribute Field

Definition

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).

Applies to

See also