Share via


TextBox.PlaceholderForeground Propriedade

Definição

Obtém ou define um pincel que descreve a cor do texto do espaço reservado.

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"/>

Valor da propriedade

O pincel que descreve a cor do texto do espaço reservado.

Requisitos do Windows

Família de dispositivos
Windows 10 Fall Creators Update (introduzida na 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v5.0)

Aplica-se a