picoe/Eto

Alternative to &File in menu items to set key that opens menu item

Offen

#1.531 geöffnet am 10.12.2019

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (320 Forks)batch import
help wanted

Repository-Metriken

Stars
 (3.387 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 2T 23h) (15 gemergte PRs in 30 T)

Beschreibung

The default code and examples I've seen do something like this: new ButtonMenuItem { Text = "&File", , Items = { clickMe } } But I'm localizing my application, so I can't do &File because not all languages will start with F for this word and I don't want to change the keyboard shortcuts based on the user's language (there are articles against doing that). Is there a way to set the ampersand behavior without specifying it on Text? Shortcut doesn't do it and I can't see anything else in Intellisense.

Otherwise, you can view this as a feature request.

Contributor Guide