TextFormattingRunProperties::SetBackground Method (Color)
Visual Studio 2015
Gets a new TextFormattingRunProperties with the properties of this one but with the background set to the specified color.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Parameters
- background
-
Type:
System.Windows.Media::Color
The new background color.
Return Value
Type: Microsoft.VisualStudio.Text.Formatting::TextFormattingRunProperties^The background brush is changed by this method.
Show: