TextFormattingRunProperties.ForegroundBrush 屬性
取得前景筆刷。
命名空間: 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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。