Skip to content

Commit cbbe353

Browse files
Merge pull request #4594 from rubenseam/user/rualvesm/explicit-definition-of-possible-accelerator-translations
Explicitate that accelerators are instantiated as virtual-keys.
2 parents c43361f + 7adb09e commit cbbe353

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hub/apps/design/input/keyboard-accelerators.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,9 @@ We recommend localizing all keyboard accelerators. You can do this with the stan
586586
</Button>
587587
```
588588

589+
> [!NOTE]
590+
> Keyboard accelerators are implemented as virtual-keys. Localized accelerators must be chosen from the predefined collection of [Virtual-Key codes](/windows/win32/inputdev/virtual-key-codes) (otherwise, a XAML parser error will occur).
591+
589592
### Setup an accelerator programmatically
590593

591594
Here is an example of programmatically defining an accelerator:

0 commit comments

Comments
 (0)