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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。