I have always worked exclusively in C#. I do not use xaml. So for me a common way to add and build a rudimentary hierarchy would be: public partial class App : Application { public App() { } protected ...