TextFormattingRunProperties.BackgroundBrush Property
Gets the background brush.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'宣言
Public Overrides ReadOnly Property BackgroundBrush As Brush
Get
public override Brush BackgroundBrush { get; }
public:
virtual property Brush^ BackgroundBrush {
Brush^ get () override;
}
abstract BackgroundBrush : Brush
override BackgroundBrush : Brush
override function get BackgroundBrush () : Brush
Property Value
Type: System.Windows.Media.Brush
The background brush.
Remarks
This property gets a transparent brush if the background brush is not currently set.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.