Skip to content

With this property you can use shortcut keys

NameUse
HostDesired window
xml
hc:GlobalShortcut.Host="True"
xml
 <hc:GlobalShortcut.KeyBindings>
        <KeyBinding Modifiers="Control+Alt" Key="I" Command="{Binding GlobalShortcutInfoCmd}"/>
        <KeyBinding Modifiers="Control+Alt" Key="E" Command="{Binding GlobalShortcutWarningCmd}"/>
    </hc:GlobalShortcut.KeyBindings>

Released under the MIT License.