语言

Page.Foreground 属性

定义

获取或设置一个 Page. 的前景。

public:
 property System::Windows::Media::Brush ^ Foreground { System::Windows::Media::Brush ^ get(); void set(System::Windows::Media::Brush ^ value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Media.Brush Foreground { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Foreground : System.Windows.Media.Brush with get, set
Public Property Foreground As Brush

属性值

Brush Page用于绘制其前景的函数。 默认值为 Black。

特性

注解

Dependency 属性信息

项目 价值
标识符字段 ForegroundProperty
元数据属性设置为 true AffectsRender、SubPropertiesDoNotAffectRender、Inherits

适用于