共用方式為


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

屬性值

描述預留位置文字色彩的筆刷。

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

適用於