Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
785
OutlookBar crashing when adding a new group
posted

Hi. I'm currently evaluating Silverlight components.

I'm using the Composite Guidance for Silverlight and I was trying to get views (UserControls) to display within the OutlookBar (to get the same effect as Outlook).

 

However, in my sample very simple application, I'm experiencing crashes whenever I try to manually add a group to the Outlook bar.

It works fine if I create a binding with simple objects. Binding with compex objects (UserControls) makes it crash as well.

 

I also noticed after much pain that if I don't put a x:Name to the control, it crashes as well.

 

I've used the WinForms components before and I've got to say I'm a bit disappointed on these Silverlight components that refuse to work for me.

 

EDIT: After more messing about I finally worked out what is making it misbehave.

If I do DataContext = this in my constructor and have the GroupsSource={Binding Path=MyData} then it works fine.

If I remove the GroupsSource setting from the XAML then it breaks down horribly.

 

I still can't bind user controls through the GroupsSource binding though :(