You can also try using datbinding and then change and bind the
IsSelectedProperty to a property in your datasource. Then instead of
modifying the elements (which will get overwritten once the TreeView is
created), you modify the objects, so once the treeview is created it will
get the value for IsSelectedProperty from the object.
--------------------------------------------------------------------------------
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists