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 命名空间