TextPatternIdentifiers.ForegroundColorAttribute 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
識別文字範圍的 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。
預設值為