Share via


ComboBox.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 = comboBox.placeholderForeground;
comboBox.placeholderForeground = brush;
Public Property PlaceholderForeground As Brush
<ComboBox PlaceholderForeground="{StaticResource resourceName}" .../>
- or -
<ComboBox PlaceholderForeground="colorString" .../>

Property Value

The brush that describes the color of placeholder text.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to