silverlight 4.0 - Expanding item differs from selected item -
i trying implement mvvm, , having issues moving loadondemand viewmodel using triggers , relaycommands, have event firing , all, turns out possible expand node in tree without having selected (i have databound selecteditem property in viewmodel), breaking logic, since onload animation continue spin.
if instead this:
private void hierarchytreecontrol_loadondemand( object sender, telerik.windows.radroutedeventargs e){ radtreeviewitem clickeditem = null; clickeditem = e.originalsource radtreeviewitem; if (clickeditem != null) { ...do load logic in code behind file. have access expanding item (clickeditem). missing?
is possible sort of binding on exandingitem?
any appreciated :)
since not using standard treeview, cannot sure relevant. have had success in binding treeviewitem's isexpanded property viewmodel property, in loaded items when value set true (and not loaded).
here useful link: one more platform difference more-or-less tamed
Comments
Post a Comment