TextBox.PlaceholderForeground Proprietà

Definizione

Ottiene o imposta un pennello che descrive il colore del testo segnaposto.

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

Valore della proprietà

Pennello che descrive il colore del testo segnaposto.

Requisiti Windows

Famiglia di dispositivi
Windows 10 Fall Creators Update (è stato introdotto in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v5.0)

Si applica a