TextPatternIdentifiers.ForegroundColorAttribute Fält

Definition

Identifierar attributet ForegroundColor (COLORREF) för ett textintervall.

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 

Fältvärde

Kommentarer

Förgrundsfärgen motsvarar text- eller teckensnittsfärgen.

Den här identifieraren används av UI Automation providrar. UI Automation klientprogram bör använda motsvarande fält i TextPattern.

Värden för det här attributet är av typen Int32.

Standardvärdet är en referens null (Nothing i Visual Basic).

Gäller för

Se även