I have a window which consist 3 user controls. 3rd user control consist a datagrid
which filled up when a browse button is clicked and file is open in 1st user control. 2nd user control consist some filter operation controls over datagrid
.
What I need is to bind some hotkeys in 3rd user controls.
Problem - when I browse a file in 1st user control focus is not set to datagrid
so hot keys not worked. If I use any filer operation in 2nd user control than also focus removed from datagrid
and keys will not work.
What should I do so that when there is file open and any filer operation performed then focus should be on datagrid
so that hot key will work?