แก้ไข

แชร์ผ่าน


Page.Foreground Property

Definition

Gets or sets the foreground for a 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

Property Value

The Brush that Page uses to paint its foreground. The default is Black.

Attributes

Remarks

Dependency Property Information

Identifier field ForegroundProperty
Metadata properties set to true AffectsRender, SubPropertiesDoNotAffectRender, Inherits

Applies to