33 references to Shortcut
System.Windows.Forms (33)
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
2689if ((int)keyData == (int)Shortcut.CtrlA)
winforms\Managed\System\WinForms\Menu.cs (1)
340if (item.Shortcut == (Shortcut)(int)value) return item;
winforms\Managed\System\WinForms\MenuItem.cs (8)
119public MenuItem(string text, EventHandler onClick, Shortcut shortcut) : this(MenuMerge.Add, 0, shortcut, text, onClick, null, null, null) { 153public MenuItem(MenuMerge mergeType, int mergeOrder, Shortcut shortcut, 626DefaultValue(Shortcut.None), 629public Shortcut Shortcut { 635if (!Enum.IsDefined(typeof(Shortcut), value)) { 636throw new InvalidEnumArgumentException("value", (int)value, typeof(Shortcut)); 1558internal Shortcut shortcut; 1569internal MenuItemData(MenuItem baseItem, MenuMerge mergeType, int mergeOrder, Shortcut shortcut, bool showShortcut,
winforms\Managed\System\WinForms\RichTextBox.cs (4)
686shortcutsToDisable = new int[] {(int)Shortcut.CtrlL, (int)Shortcut.CtrlR, (int)Shortcut.CtrlE, (int)Shortcut.CtrlJ};
winforms\Managed\System\WinForms\TextBoxBase.cs (17)
194shortcutsToDisable = new int[] {(int)Shortcut.CtrlZ, (int)Shortcut.CtrlC, (int)Shortcut.CtrlX, 195(int)Shortcut.CtrlV, (int)Shortcut.CtrlA, (int)Shortcut.CtrlL, (int)Shortcut.CtrlR, 196(int)Shortcut.CtrlE, (int)Shortcut.CtrlY, (int)Keys.Control + (int)Keys.Back, 197(int)Shortcut.CtrlDel, (int)Shortcut.ShiftDel, (int)Shortcut.ShiftIns, (int)Shortcut.CtrlJ}; 227if (k == (int)Shortcut.CtrlL // align left 228|| k == (int)Shortcut.CtrlR // align right 229|| k == (int)Shortcut.CtrlE // align centre 230|| k == (int)Shortcut.CtrlJ) { // align justified
winforms\Managed\System\WinForms\WebBrowser.cs (2)
1846&& Enum.IsDefined(typeof(Shortcut), (Shortcut)keyCode)) {