共用方式為


EditorFormatDefinition.ForegroundBrush 屬性

取得或設定此項目的前景筆刷。

命名空間:  Microsoft.VisualStudio.Text.Classification
組件:  Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

語法

'宣告
Public Property ForegroundBrush As Brush
public Brush ForegroundBrush { get; protected set; }
public:
property Brush^ ForegroundBrush {
    Brush^ get ();
    protected: void set (Brush^ value);
}
member ForegroundBrush : Brush with get, set
function get ForegroundBrush () : Brush 
protected function set ForegroundBrush (value : Brush)

屬性值

類型:Brush
前景筆刷。

備註

這個筆刷,將會覆寫任何已設定的前景色彩。

.NET Framework 安全性

請參閱

參考

EditorFormatDefinition 類別

Microsoft.VisualStudio.Text.Classification 命名空間