Preventing F10 from opening an application's menus
Hopefully you don't need to do this often, but in our case we have a special hardware integration need to either handle or ignore the F10 key. However, F10 doesn't generate a KeyDown event with e.Key == Key.F10.
Instead, do this:
void Window_KeyDown(object sender, KeyEventArgs e)
{
if(e.Key == Key.System && e.SystemKey == Key.F10 )
{
e.Handled = true;
}
}