Share via


TextBox.PlaceholderForeground Propriété

Définition

Obtient ou définit un pinceau qui décrit la couleur du texte d’espace réservé.

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

Valeur de propriété

Pinceau qui décrit la couleur du texte d’espace réservé.

S’applique à