ForegroundBrush Property

TextRunProperties.ForegroundBrush Property


Gets the brush that is used to paint the foreground color of the text run.

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

public abstract Brush ForegroundBrush { get; }

Property Value

Type: System.Windows.Media.Brush

A Brush value that represents the foreground color.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft