Hello
I dont know how to set focus to gridtreeview element;
I have a loop in collection of binded elemnt(ItemsSource) in view model.
I found searching element but i dont know how to set focus.
private void SetFocus(ObservableCollection findItems, string itemToFocus)
{
foreach (var item in findItems)
{
if (item.ID == itemToFocus)
{
//here i found the node and i neeed to set focus in treegridview to him
}
else
{
SetFocus(item.Child, itemToFocus);
}
Goodbye