ComboBox.PlaceholderForeground Eigenschaft

Definition

Ruft einen Pinsel ab, der die Farbe des Platzhaltertexts beschreibt, oder legt diesen fest.

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

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

Eigenschaftswert

Der Pinsel, der die Farbe des Platzhaltertexts beschreibt.

Windows-Anforderungen

Gerätefamilie
Windows 10 Fall Creators Update (eingeführt in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v5.0)

Gilt für: