Share via


ComboBox.PlaceholderForeground 屬性

定義

取得或設定描述佔位元文字色彩的筆刷。

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

屬性值

描述佔位元文字色彩的筆刷。

適用於