TextBox.PlaceholderForeground Свойство

Определение

Возвращает или задает кисть, описывающую цвет текста заполнителя.

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

Значение свойства

Кисть, описывающая цвет текста заполнителя.

Применяется к