Application.RootVisual Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the main application UI.
Assembly: System.Windows (in System.Windows.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | When setting this property, the specified value is not an instance of a class that derives from UIElement. |
Show: