Background Property
Collapse the table of content
Expand the table of content

SilverlightHost.Background Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the background color value that was applied to the application as part of instantiation settings.

Namespace:  System.Windows.Interop
Assembly:  System.Windows (in System.Windows.dll)

'Declaration
Public ReadOnly Property Background As Color

Property Value

Type: System.Windows.Media.Color
The background color for the application.

The background of the application is often completely hidden by the background applied to the root element of the UI.

The Background property cannot be set.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft