27 references to Shortcut
System.Windows.Forms (27)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (4)
545
s_shortcutsToDisable ??= [(int)
Shortcut
.CtrlL, (int)
Shortcut
.CtrlR, (int)
Shortcut
.CtrlE, (int)
Shortcut
.CtrlJ];
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
2423
if ((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
196
if (k is ((int)
Shortcut
.CtrlL) // align left
197
or ((int)
Shortcut
.CtrlR) // align right
198
or ((int)
Shortcut
.CtrlE) // align center
199
or ((int)
Shortcut
.CtrlJ)) // align justified
System\Windows\Forms\Controls\Unsupported\ContextMenu\MenuItem.cs (4)
56
public MenuItem(string text, EventHandler onClick,
Shortcut
shortcut) : this(
79
Shortcut
shortcut,
194
[DefaultValue(
Shortcut
.None)]
195
public
Shortcut
Shortcut
System\Windows\Forms\Controls\WebBrowser\WebBrowser.WebBrowserSite.cs (1)
165
if (lpMsg->message != PInvokeCore.WM_CHAR && Enum.IsDefined((
Shortcut
)keyCode))