This project is read-only.


Apr 8, 2010 at 7:41 AM


I tried to add a contenttemplateselector to a dockablecontent but it is never invoked. What's wrong with that?

Thank you

Apr 10, 2011 at 2:15 AM
Edited Apr 10, 2011 at 2:19 AM


I've come across the same problem with DocumentContent a few days ago and found the following workaround (I assume this also works for DockableContent)

    DocumentContent dc = new DocumentContent();
    dc.Content = new ContentControl()
        ContentTemplateSelector = new SomeDataTemplateSelector(),
        Content = someContent