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
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

See Also

Reference

TextFormattingRunProperties Class

Microsoft.VisualStudio.Text.Formatting Namespace