Page.Foreground Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the foreground for a Page.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public Brush Foreground { get; set; }

Property Value

Type: System.Windows.Media.Brush

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

.NET Framework
Available since 3.0
Return to top