This question is locked. New answers and comments are not allowed.
Here is what I do:
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,
Stephan
UPDATE: this is probably related to my other question.
// My View (snippet)
...
<
ContentControl
c:View.Model
=
"{Binding Sidebar}"
/>
...
// VSidebar.xaml (complete)
<
Telerik:RadPropertyGrid
x:Class
=
"Bla.Bla.Bla.Views.Util.VSidebar"
xmlns:Telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
Item
=
"{Binding PropertySource}"
/>
// 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,
Stephan
UPDATE: this is probably related to my other question.