WPF and Windows Forms are Now open source
Recently Microsoft has announced WPF and Windows form as a Open source. Microsoft also created new repositories for each of them on GitHub.
Now being WPF developer, you have full control over XAML.
Have a look into GitHub repositories of WPF and Windows Forms: