TextBox.PlaceholderForeground Property

Definition

Gets or sets a brush that describes the color of placeholder text.

public:
 property Brush ^ PlaceholderForeground { Brush ^ get(); void set(Brush ^ value); };
Brush PlaceholderForeground();

void PlaceholderForeground(Brush value);
public Brush PlaceholderForeground { get; set; }
var brush = textBox.placeholderForeground;
textBox.placeholderForeground = brush;
Public Property PlaceholderForeground As Brush
<TextBox PlaceholderForeground="{StaticResource resourceName}"/>
- or -
<TextBox PlaceholderForeground="colorString"/>

Property Value

The brush that describes the color of placeholder text.

Applies to