TextBox.PlaceholderForeground 属性   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置描述占位符文本颜色的画笔。
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"/>
属性值
描述占位符文本颜色的画笔。
Windows 要求
| 设备系列 | 
							Windows 10 Fall Creators Update (在 10.0.16299.0 中引入) | 
| API contract | 
							Windows.Foundation.UniversalApiContract (在 v5.0 中引入) |