my project it:
 - one windows (Access.xaml)
 - other page is redirect (User Control) Internal (my windows).
 - _toolbarcontent.Visibility = Visibility.Visible;
- content.Content = new Pages.xcompany();  
 
Then I Used Quick Lunch On Main page(user control: Welcome.xaml).
 
 I want to use hot key For example (F1 Key: receipt voucher Page, F2 Key.. etc)
 I tried Sample Code:
 - (NHotKey But I can't Adjustment and this library not content More  option like (define global, local.., check if exist already hotkey,  exception,  ...etc).
 - private void _addHotKeys() { 
 
 
-   
 
 this code is successful but appeared in exception error code  (Already Register Hot key like 
- HotkeyManager.Current.AddOrReplace("Exit", Key.Escape, ModifierKeys.None, ExitHotKey);  
 
 - KeyDown, PreviewKeyDown ON User Control OR Main Grid, but not fired on Escape Key to hide user control appeared. 
- x:Class="_main.lDialog" x:Name="root" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" PreviewKeyDown="root_KeyDown">  
 
My Code:
 - private void root_KeyDown(object sender, KeyEventArgs e)
- { if (e.Key == Key.Escape) 
 
-      {
-      _resultDiag = false;
-      HideHandlerDialog();
-      }
- }  
 
Please Help Me, I want To Library OF Hot Key Management With Option  and Most controlled like check if register and controlled if exist.. etc  AND Applied ON (USER CONTROL) WPF with C# NOT ON Windows WPF C#.