FormattedText.SetForegroundBrush Method

 

Changes the foreground brush used for drawing text.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

NameDescription
System_CAPS_pubmethodSetForegroundBrush(Brush)

Changes the foreground Brush for an entire FormattedText object.

System_CAPS_pubmethodSetForegroundBrush(Brush, Int32, Int32)

Changes the foreground Brush for specified text within a FormattedText object.

Return to top
Show: