How we can separate code and XAML?
Meesha Goyal
The code and the xaml are separated in WPF. WPF is developed to allow to create applications with designs graphic more complex and less more dependent of the code. When designing a WPF application in Visual Studio, the window you're designing isn't translated into code. Instead, it's serialized into a set of XAML tags. When you run the application, these tags are used to generate the objects that compose the user interface.