Window.Content Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the visual root of an application window.
public:
property UIElement ^ Content { UIElement ^ get(); void set(UIElement ^ value); };
UIElement Content();
void Content(UIElement value);
public UIElement Content { get; set; }
var uIElement = window.content;
window.content = uIElement;
Public Property Content As UIElement
The visual root of an application window.