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