TextHighlighter.Foreground Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the brush used to color highlighted text.
public:
property Brush ^ Foreground { Brush ^ get(); void set(Brush ^ value); };
Brush Foreground();
void Foreground(Brush value);
public Brush Foreground { get; set; }
var brush = textHighlighter.foreground;
textHighlighter.foreground = brush;
Public Property Foreground As Brush
Property Value
The brush used to color highlighted text.