May 11, 2014
Gets or sets the main application UI.
Public Property RootVisual As UIElement
When setting this property, the specified value is not an instance of a class that derives from UIElement.
You can set the value of the RootVisual property only one time from code, although you get its value any number of times.