Share via


Window.Content Property

Definition

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

Property Value

The visual root of an application window.

Applies to