In XAML document, the root element consists only certain elements, and these elements are Window, a Canvas or panels.