Here is what I do:
// My View (snippet)
// VSidebar.xaml (complete)
// VSidebar.xaml.cs just contains a default constructor with "InitializeComponent()"
// "Sidebar" is bound to an instance of "MSidebar" (MSidebar.cs)
// Caliburn.Micro (CM) correctly resolves this to "VSidebar" (VSidebar.xaml)
// CM calls "InitializeComponent" on VSidebar (via code)
// CM sets the "Content" property of the ContentControl to the new VSidebar instance (via code)
Using Silverlight 4
and Q3 2011
this worked perfectly. The RadPropertyGrid is displayed in the sidebar area.
However, using Silverlight 5
and Q3 2012
the sidebar area is empty. Using XAML Spy I can see that the sidebar ContentControl indeed has VSidebar set as its content but there are no childs underneath VSidebar. When I simply wrap the RadPropertyGrid in another ContentControl or a UserControl (in VSidebar.xaml) everything works again. Meaning that the property grid gets visible.
Strange! Any ideas what might cause this issue? Does this have anything to do with implicit styles (maybe no template set etc.) ???
Thanks in advance,
UPDATE: this is probably related to my other question