ComboBox.PlaceholderForeground Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.