TextFormattingRunProperties.ClearForegroundBrush Method
Gets a new TextFormattingRunProperties with all properties the same except for the foreground brush.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaração
Public Function ClearForegroundBrush As TextFormattingRunProperties
public TextFormattingRunProperties ClearForegroundBrush()
public:
TextFormattingRunProperties^ ClearForegroundBrush()
member ClearForegroundBrush : unit -> TextFormattingRunProperties
public function ClearForegroundBrush() : TextFormattingRunProperties
Return Value
Type: Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
A TextFormattingRunProperties with the foreground brush cleared.
.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.