&gt; After all in every native UI framework you have instructions to draw the widget IN your code -- not as some external additional technology. A widget&#x27;s C&#x2F;C++&#x2F;Obj-C&#x2F;Swift&#x2F;Java&#x2F;C# etc code encapsulates everything about creating it and showing it.<p>With the notable exception of Windows. XAML strictly enforces code and markup separation. It makes the View layer more toolable and easier to edit by designers who usually don&#x27;t program.