Hi Anastasia ,
Call the EnableModelessKeyboardInterop method on the ElementHost
control to handle keyboard input in the WPF window.
var form = new Spreadsheet.SpreadSheetForm();
ElementHost.EnableModelessKeyboardInterop(form);
form.Show();
Thanks,
Pannir