TreeView inside AutoCompleteBox's popup

Posted by Satumba on Stack Overflow See other posts from Stack Overflow or by Satumba
Published on 2010-06-15T08:36:17Z Indexed on 2010/06/15 8:42 UTC
Read the original article Hit count: 605

Hi,

Inspired by this post, I'm trying to use a TreeView inside the AutoCompleteBox's popup in order to show hierarchical data.

Here's what i did:

  1. I Made my own TreeView that implements ISelectionAdapter (not sure it's perfect)

  2. Edit AutoCompleteBox template and change the selector to my treeview

  3. Try Bind my ViewModel to it

Unfortunately this is not working. i checked my new TreeView with the same binding to the same object and it works prefectly when it's outside of a AutoCompleteBox template.

Any idea? any special way to implement ISelectionAdapter for treeview? did i missed something?

couldn't find any example for it on the web...

Thanks.

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about silverlight-4.0