views:

390

answers:

1

How come TreeView.FindName() can find things added to the Xaml doc at compile time but not dynamically added at runtime?

A: 

When you add the item, are you calling the RegisterName method on the TreeView? Just setting the name won't work.

Brandon