views:

23

answers:

1

how can I assign a keyboard shortcut to open new window or make any function ?

A: 

Look at CommandBinding http://msdn.microsoft.com/en-us/library/system.windows.input.commandbinding.aspx

<UserControl.CommandBindings>
    <CommandBinding 
        Command="ApplicationCommands.Open"
        Executed="_HandleApplicationOpenCommandExecute"/>        
</UserControl.CommandBindings>
Jerod Houghtelling