27 references to Shortcut
System.Windows.Forms (27)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (4)
545s_shortcutsToDisable ??= [(int)Shortcut.CtrlL, (int)Shortcut.CtrlR, (int)Shortcut.CtrlE, (int)Shortcut.CtrlJ];
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
2423if ((int)keyData == (int)Shortcut.CtrlA)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (17)
159(int)Shortcut.CtrlZ, (int)Shortcut.CtrlC, (int)Shortcut.CtrlX, 160(int)Shortcut.CtrlV, (int)Shortcut.CtrlA, (int)Shortcut.CtrlL, (int)Shortcut.CtrlR, 161(int)Shortcut.CtrlE, (int)Shortcut.CtrlY, (int)Keys.Control + (int)Keys.Back, 162(int)Shortcut.CtrlDel, (int)Shortcut.ShiftDel, (int)Shortcut.ShiftIns, (int)Shortcut.CtrlJ 196if (k is ((int)Shortcut.CtrlL) // align left 197or ((int)Shortcut.CtrlR) // align right 198or ((int)Shortcut.CtrlE) // align center 199or ((int)Shortcut.CtrlJ)) // align justified
System\Windows\Forms\Controls\Unsupported\ContextMenu\MenuItem.cs (4)
56public MenuItem(string text, EventHandler onClick, Shortcut shortcut) : this( 79Shortcut shortcut, 194[DefaultValue(Shortcut.None)] 195public Shortcut Shortcut
System\Windows\Forms\Controls\WebBrowser\WebBrowser.WebBrowserSite.cs (1)
165if (lpMsg->message != PInvokeCore.WM_CHAR && Enum.IsDefined((Shortcut)keyCode))