R – WPF DataTemplate/ControlTemplate and VS2008 designer

controltemplate, datatemplate, visual-studio-2008, wpf

Suppose you have WPF Window composed of many elements that are using DataTemplates / ControlTemplates (ItemControls … )
But you want to see how every DataTemplate looks like in VS Designer.
What more, if you define a ControlTemplate from as a Template located in another file to be able to view it with the content.

Something like MasterPage and ChildElements in ASP.NET
You can always see what elements have you put together.

Is this possible in WPF too?
Otherwise.. every change I make to the DataTemplate can be seen after a long-time-consuming compilation and start.

Thank you guys..

Best Solution


I think that you can do this by creating Design Time class as described in the link below:


Hope this helps.