I'm using a WPF RadSplitButton and I'd like to to some special handling, when the DropDownClosed happens:
If the User presses ESC to close the dropped down content of my RadSplitButton, I'd like to do some undo operations. How do I get the Key that has caused the RadSplitBotton to close it's DropDown section?
In the Event Handler
private void RadSplitButton_DropDownClosed(object sender, RoutedEventArgs e)
{}
there is only RoutedEventArgs, which does not contain the pressed Button.
If the User presses ESC to close the dropped down content of my RadSplitButton, I'd like to do some undo operations. How do I get the Key that has caused the RadSplitBotton to close it's DropDown section?
In the Event Handler
private void RadSplitButton_DropDownClosed(object sender, RoutedEventArgs e)
{}
there is only RoutedEventArgs, which does not contain the pressed Button.