Share via


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

'Declaration
Public Overrides ReadOnly Property BackgroundBrush As Brush
public override Brush BackgroundBrush { get; }
public:
virtual property Brush^ BackgroundBrush {
    Brush^ get () override;
}
abstract BackgroundBrush : Brush with get 
override BackgroundBrush : Brush with get
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