Hello!
I am currently testing the GridTreeControl and I need functionality similar to ListViewItem's GotFocus event for GridTree's node / row.
<ListView>
<ListViewItem Content="Stuff" GotFocus="ListViewItem_GotFocus" />
</ListView>
...
private void ListViewItem_GotFocus(object sender, RoutedEventArgs e)
{
var title = (sender as MyClass)?.Title;
}
I have a databound GridTree and I load data in other controls based on the focused item's underlying class in the GridTree. The focus will be changed via mouse, keyboard or code. I would like one event to capture all of them, like Node_GotFocus.
How can this be achieved?