Dela via


TextHighlighter.Foreground Property

Definition

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.

Applies to