获取前景画笔。
命名空间: Microsoft.VisualStudio.Text.Formatting
程序集: Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)
语法
声明
Public Overrides ReadOnly Property ForegroundBrush As Brush
public override Brush ForegroundBrush { get; }
public:
virtual property Brush^ ForegroundBrush {
Brush^ get () override;
}
abstract ForegroundBrush : Brush with get
override ForegroundBrush : Brush with get
override function get ForegroundBrush () : Brush
属性值
类型:Brush
前景画笔。
备注
,如果前景画笔当前未设置,则返回一个透明画笔。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。