picoe/Eto

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

开放

#1,531 创建于 2019年12月10日

 (2 条评论) (0 个反应) (0 位负责人)C# (320 个派生)batch import
help wanted

仓库指标

星标
 (3,387 个星标)
PR 合并指标
 (平均合并 2天 23小时) (30 天内合并 15 个 PR)

描述

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.

贡献者指南