Is there a way to use a visual XAML designer to author WPF Custom Controls, just like you would with User Controls?
As far as I can see there is nothing like this in Visual Studio 2010 and 2012. I’ve also looked at Expression Blend 4 and none of them seem to support this.
I find this hard to believe as it seems to me like this would be an obvious and necessary feature.
Just to be clear, I’m looking for a XAML editor where I would visually see the result of the XAML as a rendered control as I work with it, exactly like you would when authoring a User Control in Visual Studio 2010.
Here’s one thing that I’ve come up with:
Change the code in the project like this:
CustomControl1Dictionary.xaml
Themes\Generic.xaml
CustomControl1View.xaml
This lets me open the user control as a pop-up window and I can see the changes to the XAML that I make in the custom control resource dictionary after I build the project and click on the user control designer.