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

Brush 用來繪製其前景的 Page。 預設為 Black

屬性

備註

相依性屬性資訊

識別碼欄位 ForegroundProperty
設定為 的中繼資料屬性 true AffectsRenderSubPropertiesDoNotAffectRenderInherits

適用於