語言

TextPatternIdentifiers.ForegroundColorAttribute 欄位

定義

識別文字範圍的 ForegroundColor(COLORREF)屬性。

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 

欄位值

備註

前景顏色相當於文字或字體顏色。

此識別碼由 使用者介面自動化 提供者使用。 使用者介面自動化客戶端應用程式應該使用TextPattern 中的等效欄位。

此屬性的值型別為 Int32。

預設值為 參考(< Visual Basic 中為 c1 />)。

適用於

另請參閱