Compartilhar via


TextFormattingRunProperties.ClearBackgroundBrush Method

Gets a new TextFormattingRunProperties with all properties the same except for the background brush.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaração
Public Function ClearBackgroundBrush As TextFormattingRunProperties
public TextFormattingRunProperties ClearBackgroundBrush()
public:
TextFormattingRunProperties^ ClearBackgroundBrush()
member ClearBackgroundBrush : unit -> TextFormattingRunProperties 
public function ClearBackgroundBrush() : TextFormattingRunProperties

Return Value

Type: Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
A TextFormattingRunProperties with the BackgroundBrush property cleared.

.NET Framework Security

See Also

Reference

TextFormattingRunProperties Class

Microsoft.VisualStudio.Text.Formatting Namespace