A Window is a ContentControl, which means that it can contain a single object of any type (such as a string, an image, or a panel). For more information, see the ContentControl class. Also, Window is a root element and, therefore, cannot be part of another element's content.