Hi,
I'm using radtreeview with a hierarchical data template, my own treeview style , items template, items container style and items panel.
This works all fine, but I can't set the focus of a treeview item with the following code sequence running in a MouseEnter event:
TreeView.Focus();
Item.Focus();
Item.IsSelected = true;
The Item IsEnabled, IsSelected, IsInView and the parent IsExpanded ... all seems to be prepared for setting the focus - but no success.
Changing the sequence of this calls or using a Dispatcher for the call doen't help either.
Any help appreciated!
Kind regards,
Alois
I'm using radtreeview with a hierarchical data template, my own treeview style , items template, items container style and items panel.
This works all fine, but I can't set the focus of a treeview item with the following code sequence running in a MouseEnter event:
TreeView.Focus();
Item.Focus();
Item.IsSelected = true;
The Item IsEnabled, IsSelected, IsInView and the parent IsExpanded ... all seems to be prepared for setting the focus - but no success.
Changing the sequence of this calls or using a Dispatcher for the call doen't help either.
Any help appreciated!
Kind regards,
Alois