Kiang Teng
Kiang Teng

Reputation: 1705

InputGesture modifier for "Windows" key

This is a simple question.

If I want to set the shortcut for one of my commands to Windows V, what string do I use for the "Windows" key modifier?

<Window.InputBindings>
    <KeyBinding Command="vm:MainVM.OpenDialogCommand" Key="V" Modifiers="**WHAT DO I PUT HERE**"/>
</Window.InputBindings>

Upvotes: 1

Views: 223

Answers (2)

Szymon Rozga
Szymon Rozga

Reputation: 18168

See here. Just use Modifiers="Windows".

Upvotes: 4

Jon
Jon

Reputation: 437454

According to this, Modifiers="Windows".

Upvotes: 2

Related Questions