FormattedText.SetForegroundBrush Method

Changes the foreground brush used for drawing text.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method SetForegroundBrush(Brush) Changes the foreground Brush for an entire FormattedText object.
Public method SetForegroundBrush(Brush, Int32, Int32) Changes the foreground Brush for specified text within a FormattedText object.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft