TextFormattingRunProperties::ForegroundBrush Property

 

Gets the foreground brush.

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

public:
property Brush^ ForegroundBrush {
	virtual Brush^ get() override;
}

Property Value

Type: System.Windows.Media::Brush^

The foreground brush.

Returns a transparent brush if the foreground brush is not currently set.

Return to top
Show: