This is a migrated thread and some comments may be shown as answers.

TreeView table of contents.

1 Answer 75 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Solomon
Top achievements
Rank 1
Solomon asked on 28 Jan 2011, 05:48 PM
I am creating a rad book using an implementation of mvvm. I want to create a treeview table of contents. So when I bind a command to the treviewitem all the children have the same command binded to them. Is there a way to make the parent bind to the command but not the children?

1 Answer, 1 is accepted

Sort by
0
Solomon
Top achievements
Rank 1
answered on 28 Jan 2011, 08:12 PM
I found the solution. It was calling the child event and then the parents. All I had to do was add e.handled = true in the event.
Tags
General Discussions
Asked by
Solomon
Top achievements
Rank 1
Answers by
Solomon
Top achievements
Rank 1
Share this question
or