View without UserControl

Topics: Conventions, UI Architecture
May 10, 2012 at 1:42 PM

I could do a view as an itemtemplate, but i'd rather a seperate xaml file. The thing is, if I try to have the root element be say, a grid, I get the default view (not found) when I start the application.

May 12, 2012 at 1:45 PM

Well that was silly. Yes you can do this - ensure you give the root element (whatever it may be!) the appropriate class name, ie. x:class="SomeView"