TextFormattingRunProperties::SetBackground Method (Color)

 

Gets a new TextFormattingRunProperties with the properties of this one but with the background set to the specified color.

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

public:
TextFormattingRunProperties^ SetBackground(
	Color background
)

Parameters

background
Type: System.Windows.Media::Color

The new background color.

The background brush is changed by this method.

Return to top
Show: