138 instantiations of CommandID
Microsoft.VisualStudio.LanguageServices (5)
EditorConfigSettings\SettingsEditorPane.cs (1)
305
var menuCommandID = new
CommandID
(menuGroup, cmdID);
StackTraceExplorer\StackTraceExplorerCommandHandler.cs (3)
189
var menuCommandId = new
CommandID
(Guids.StackTraceExplorerCommandId, 0x0100);
193
var pasteCommandId = new
CommandID
(Guids.StackTraceExplorerCommandId, 0x0101);
194
var clearCommandId = new
CommandID
(Guids.StackTraceExplorerCommandId, 0x0102);
Utilities\VisualStudioCommandHandlerHelpers.cs (1)
24
var commandIdWithGroupId = new
CommandID
(commandGroup, commandId);
Roslyn.VisualStudio.DiagnosticsWindow (1)
VisualStudioDiagnosticsWindowPackage.cs (1)
88
var toolwndCommandID = new
CommandID
(GuidList.guidVisualStudioDiagnosticsWindowCmdSet, (int)PkgCmdIDList.CmdIDRoslynDiagnosticWindow);
System.ComponentModel.TypeConverter (55)
System\ComponentModel\Design\StandardCommands.cs (55)
55
public static readonly CommandID AlignBottom = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidAlignBottom);
61
public static readonly CommandID AlignHorizontalCenters = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidAlignHorizontalCenters);
66
public static readonly CommandID AlignLeft = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidAlignLeft);
71
public static readonly CommandID AlignRight = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidAlignRight);
76
public static readonly CommandID AlignToGrid = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidAlignToGrid);
81
public static readonly CommandID AlignTop = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidAlignTop);
86
public static readonly CommandID AlignVerticalCenters = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidAlignVerticalCenters);
91
public static readonly CommandID ArrangeBottom = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidArrangeBottom);
96
public static readonly CommandID ArrangeRight = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidArrangeRight);
101
public static readonly CommandID BringForward = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidBringForward);
106
public static readonly CommandID BringToFront = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidBringToFront);
111
public static readonly CommandID CenterHorizontally = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidCenterHorizontally);
116
public static readonly CommandID CenterVertically = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidCenterVertically);
121
public static readonly CommandID ViewCode = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidViewCode);
126
public static readonly CommandID DocumentOutline = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidDocOutlineWindow);
131
public static readonly CommandID Copy = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidCopy);
136
public static readonly CommandID Cut = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidCut);
141
public static readonly CommandID Delete = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidDelete);
146
public static readonly CommandID Group = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidGroup);
151
public static readonly CommandID HorizSpaceConcatenate = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidHorizSpaceConcatenate);
156
public static readonly CommandID HorizSpaceDecrease = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidHorizSpaceDecrease);
161
public static readonly CommandID HorizSpaceIncrease = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidHorizSpaceIncrease);
167
public static readonly CommandID HorizSpaceMakeEqual = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidHorizSpaceMakeEqual);
171
public static readonly CommandID Paste = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidPaste);
176
public static readonly CommandID Properties = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidProperties);
181
public static readonly CommandID Redo = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidRedo);
186
public static readonly CommandID MultiLevelRedo = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidMultiLevelRedo);
191
public static readonly CommandID SelectAll = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidSelectAll);
196
public static readonly CommandID SendBackward = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidSendBackward);
201
public static readonly CommandID SendToBack = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidSendToBack);
206
public static readonly CommandID SizeToControl = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidSizeToControl);
211
public static readonly CommandID SizeToControlHeight = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidSizeToControlHeight);
216
public static readonly CommandID SizeToControlWidth = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidSizeToControlWidth);
221
public static readonly CommandID SizeToFit = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidSizeToFit);
226
public static readonly CommandID SizeToGrid = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidSizeToGrid);
231
public static readonly CommandID SnapToGrid = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidSnapToGrid);
236
public static readonly CommandID TabOrder = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidTabOrder);
241
public static readonly CommandID Undo = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidUndo);
246
public static readonly CommandID MultiLevelUndo = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidMultiLevelUndo);
251
public static readonly CommandID Ungroup = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidUngroup);
256
public static readonly CommandID VertSpaceConcatenate = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidVertSpaceConcatenate);
261
public static readonly CommandID VertSpaceDecrease = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidVertSpaceDecrease);
266
public static readonly CommandID VertSpaceIncrease = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidVertSpaceIncrease);
271
public static readonly CommandID VertSpaceMakeEqual = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidVertSpaceMakeEqual);
276
public static readonly CommandID ShowGrid = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidShowGrid);
281
public static readonly CommandID ViewGrid = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidViewGrid);
286
public static readonly CommandID Replace = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidReplace);
291
public static readonly CommandID PropertiesWindow = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidPropertiesWindow);
296
public static readonly CommandID LockControls = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidLockControls);
301
public static readonly CommandID F1Help = new
CommandID
(s_standardCommandSet, VSStandardCommands.cmdidF1Help);
307
public static readonly CommandID ArrangeIcons = new
CommandID
(s_ndpCommandSet, cmdidArrangeIcons);
312
public static readonly CommandID LineupIcons = new
CommandID
(s_ndpCommandSet, cmdidLineupIcons);
317
public static readonly CommandID ShowLargeIcons = new
CommandID
(s_ndpCommandSet, cmdidShowLargeIcons);
322
public static readonly CommandID VerbFirst = new
CommandID
(s_ndpCommandSet, CmdidDesignerVerbFirst);
327
public static readonly CommandID VerbLast = new
CommandID
(s_ndpCommandSet, CmdidDesignerVerbLast);
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridCommands.cs (4)
26
public static readonly CommandID Reset =
new
(wfcMenuCommand, 0x3000);
27
public static readonly CommandID Description =
new
(wfcMenuCommand, 0x3001);
28
public static readonly CommandID Hide =
new
(wfcMenuCommand, 0x3002);
29
public static readonly CommandID Commands =
new
(wfcMenuCommand, 0x3010);
System.Windows.Forms.Design (36)
System\Windows\Forms\Design\CommandSet.cs (1)
222
ds?.SetValue(typeof(CommandID), new
CommandID
(new Guid("BA09E2AF-9DF2-4068-B2F0-4C7E5CC19E2F"), 0));
System\Windows\Forms\Design\MenuCommands.cs (35)
83
public static readonly CommandID SelectionMenu =
new
(s_wfMenuGroup, MnuidSelection);
85
public static readonly CommandID ContainerMenu =
new
(s_wfMenuGroup, MnuidContainer);
87
public static readonly CommandID TraySelectionMenu =
new
(s_wfMenuGroup, MnuidTraySelection);
89
public static readonly CommandID ComponentTrayMenu =
new
(s_wfMenuGroup, MnuidComponentTray);
92
public static readonly CommandID DesignerProperties =
new
(s_wfCommandSet, CmdidDesignerProperties);
95
public static readonly CommandID KeyCancel =
new
(s_guidVSStd2K, ECMD_CANCEL);
97
public static readonly CommandID KeyReverseCancel =
new
(s_wfCommandSet, CmdidReverseCancel);
99
public static readonly CommandID KeyInvokeSmartTag =
new
(s_guidVSStd2K, ECMD_INVOKESMARTTAG);
101
public static readonly CommandID KeyDefaultAction =
new
(s_guidVSStd2K, ECMD_RETURN);
103
public static readonly CommandID KeyMoveUp =
new
(s_guidVSStd2K, ECMD_UP);
105
public static readonly CommandID KeyMoveDown =
new
(s_guidVSStd2K, ECMD_DOWN);
107
public static readonly CommandID KeyMoveLeft =
new
(s_guidVSStd2K, ECMD_LEFT);
109
public static readonly CommandID KeyMoveRight =
new
(s_guidVSStd2K, ECMD_RIGHT);
111
public static readonly CommandID KeyNudgeUp =
new
(s_guidVSStd2K, ECMD_CTLMOVEUP);
113
public static readonly CommandID KeyNudgeDown =
new
(s_guidVSStd2K, ECMD_CTLMOVEDOWN);
115
public static readonly CommandID KeyNudgeLeft =
new
(s_guidVSStd2K, ECMD_CTLMOVELEFT);
117
public static readonly CommandID KeyNudgeRight =
new
(s_guidVSStd2K, ECMD_CTLMOVERIGHT);
119
public static readonly CommandID KeySizeWidthIncrease =
new
(s_guidVSStd2K, ECMD_RIGHT_EXT);
121
public static readonly CommandID KeySizeHeightIncrease =
new
(s_guidVSStd2K, ECMD_UP_EXT);
123
public static readonly CommandID KeySizeWidthDecrease =
new
(s_guidVSStd2K, ECMD_LEFT_EXT);
125
public static readonly CommandID KeySizeHeightDecrease =
new
(s_guidVSStd2K, ECMD_DOWN_EXT);
127
public static readonly CommandID KeyNudgeWidthIncrease =
new
(s_guidVSStd2K, ECMD_CTLSIZERIGHT);
129
public static readonly CommandID KeyNudgeHeightIncrease =
new
(s_guidVSStd2K, ECMD_CTLSIZEDOWN);
131
public static readonly CommandID KeyNudgeWidthDecrease =
new
(s_guidVSStd2K, ECMD_CTLSIZELEFT);
133
public static readonly CommandID KeyNudgeHeightDecrease =
new
(s_guidVSStd2K, ECMD_CTLSIZEUP);
135
public static readonly CommandID KeySelectNext =
new
(s_guidVSStd2K, ECMD_TAB);
137
public static readonly CommandID KeySelectPrevious =
new
(s_guidVSStd2K, ECMD_BACKTAB);
139
public static readonly CommandID KeyTabOrderSelect =
new
(s_wfCommandSet, CmdidSpace);
141
public static readonly CommandID EditLabel =
new
(s_vsStandardCommandSet97, CmdidEditLabel);
143
public static readonly CommandID KeyHome =
new
(s_guidVSStd2K, ECMD_HOME);
145
public static readonly CommandID KeyEnd =
new
(s_guidVSStd2K, ECMD_END);
147
public static readonly CommandID KeyShiftHome =
new
(s_guidVSStd2K, ECMD_HOME_EXT);
149
public static readonly CommandID KeyShiftEnd =
new
(s_guidVSStd2K, ECMD_END_EXT);
151
public static readonly CommandID SetStatusText =
new
(s_wfCommandSet, CmdidSetStatusText);
153
public static readonly CommandID SetStatusRectangle =
new
(s_wfCommandSet, CmdidSetStatusRectangle);
System.Windows.Forms.Design.Tests (37)
System\Windows\Forms\Design\CollectionEditVerbManagerTests.cs (1)
35
editor.EditItemsVerb.CommandID.Should().Be(new
CommandID
(new Guid("74d21313-2aee-11d1-8bfb-00a0c90f26f7"), 8192));
System\Windows\Forms\Design\MenuCommandsTests.cs (36)
19
yield return new object[] { MenuCommands.ComponentTrayMenu, new
CommandID
(new Guid("74d21312-2aee-11d1-8bfb-00a0c90f26f7"), 1286) };
20
yield return new object[] { MenuCommands.ContainerMenu, new
CommandID
(new Guid("74d21312-2aee-11d1-8bfb-00a0c90f26f7"), 1281) };
21
yield return new object[] { MenuCommands.DesignerProperties, new
CommandID
(new Guid("74d21313-2aee-11d1-8bfb-00a0c90f26f7"), 4097) };
22
yield return new object[] { MenuCommands.EditLabel, new
CommandID
(new Guid("5efc7975-14bc-11cf-9b2b-00aa00573819"), 338) };
23
yield return new object[] { MenuCommands.KeyCancel, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 103) };
24
yield return new object[] { MenuCommands.KeyDefaultAction, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 3) };
25
yield return new object[] { MenuCommands.KeyEnd, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 17) };
26
yield return new object[] { MenuCommands.KeyHome, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 15) };
27
yield return new object[] { MenuCommands.KeyInvokeSmartTag, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 147) };
28
yield return new object[] { MenuCommands.KeyMoveDown, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 13) };
29
yield return new object[] { MenuCommands.KeyMoveLeft, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 7) };
30
yield return new object[] { MenuCommands.KeyMoveRight, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 9) };
31
yield return new object[] { MenuCommands.KeyMoveUp, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 11) };
32
yield return new object[] { MenuCommands.KeyNudgeDown, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 1225) };
33
yield return new object[] { MenuCommands.KeyNudgeHeightDecrease, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 1229) };
34
yield return new object[] { MenuCommands.KeyNudgeHeightIncrease, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 1228) };
35
yield return new object[] { MenuCommands.KeyNudgeLeft, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 1224) };
36
yield return new object[] { MenuCommands.KeyNudgeRight, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 1226) };
37
yield return new object[] { MenuCommands.KeyNudgeUp, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 1227) };
38
yield return new object[] { MenuCommands.KeyNudgeWidthDecrease, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 1230) };
39
yield return new object[] { MenuCommands.KeyNudgeWidthDecrease, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 1230) };
40
yield return new object[] { MenuCommands.KeyNudgeHeightIncrease, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 1228) };
41
yield return new object[] { MenuCommands.KeyReverseCancel, new
CommandID
(new Guid("74d21313-2aee-11d1-8bfb-00a0c90f26f7"), 16385) };
42
yield return new object[] { MenuCommands.KeySelectNext, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 4) };
43
yield return new object[] { MenuCommands.KeySelectPrevious, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 5) };
44
yield return new object[] { MenuCommands.KeyShiftEnd, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 18) };
45
yield return new object[] { MenuCommands.KeyShiftHome, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 16) };
46
yield return new object[] { MenuCommands.KeySizeHeightDecrease, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 14) };
47
yield return new object[] { MenuCommands.KeySizeHeightIncrease, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 12) };
48
yield return new object[] { MenuCommands.KeySizeWidthDecrease, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 8) };
49
yield return new object[] { MenuCommands.KeySizeWidthIncrease, new
CommandID
(new Guid("1496a755-94de-11d0-8c3f-00c04fc2aae2"), 10) };
50
yield return new object[] { MenuCommands.KeyTabOrderSelect, new
CommandID
(new Guid("74d21313-2aee-11d1-8bfb-00a0c90f26f7"), 16405) };
51
yield return new object[] { MenuCommands.SelectionMenu, new
CommandID
(new Guid("74d21312-2aee-11d1-8bfb-00a0c90f26f7"), 1280) };
52
yield return new object[] { MenuCommands.SetStatusRectangle, new
CommandID
(new Guid("74d21313-2aee-11d1-8bfb-00a0c90f26f7"), 16388) };
53
yield return new object[] { MenuCommands.SetStatusText, new
CommandID
(new Guid("74d21313-2aee-11d1-8bfb-00a0c90f26f7"), 16387) };
54
yield return new object[] { MenuCommands.TraySelectionMenu, new
CommandID
(new Guid("74d21312-2aee-11d1-8bfb-00a0c90f26f7"), 1283) };
150 references to CommandID
DesignSurfaceExt (1)
DesignSurfaceExt.cs (1)
351
CommandID
commandId = command.ToUpperInvariant() switch
Microsoft.VisualStudio.LanguageServices (5)
EditorConfigSettings\SettingsEditorPane.cs (1)
305
var
menuCommandID = new CommandID(menuGroup, cmdID);
StackTraceExplorer\StackTraceExplorerCommandHandler.cs (3)
189
var
menuCommandId = new CommandID(Guids.StackTraceExplorerCommandId, 0x0100);
193
var
pasteCommandId = new CommandID(Guids.StackTraceExplorerCommandId, 0x0101);
194
var
clearCommandId = new CommandID(Guids.StackTraceExplorerCommandId, 0x0102);
Utilities\VisualStudioCommandHandlerHelpers.cs (1)
24
var
commandIdWithGroupId = new CommandID(commandGroup, commandId);
netstandard (1)
netstandard.cs (1)
226
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.
CommandID
))]
Roslyn.VisualStudio.DiagnosticsWindow (1)
VisualStudioDiagnosticsWindowPackage.cs (1)
88
var
toolwndCommandID = new CommandID(GuidList.guidVisualStudioDiagnosticsWindowCmdSet, (int)PkgCmdIDList.CmdIDRoslynDiagnosticWindow);
System (1)
src\libraries\shims\System\ref\System.cs (1)
212
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.
CommandID
))]
System.ComponentModel.TypeConverter (64)
System\ComponentModel\Design\CommandID.cs (2)
16
/// Initializes a new instance of the <see cref='System.ComponentModel.Design.
CommandID
'/>
35
return obj is
CommandID
cid && cid.Guid.Equals(Guid) && cid.ID == ID;
System\ComponentModel\Design\DesignerVerb.cs (1)
23
public DesignerVerb(string text, EventHandler handler,
CommandID
startCommandID) : base(handler, startCommandID)
System\ComponentModel\Design\IMenuCommandService.cs (3)
32
MenuCommand? FindCommand(
CommandID
commandID);
37
bool GlobalInvoke(
CommandID
commandID);
52
void ShowContextMenu(
CommandID
menuID, int x, int y);
System\ComponentModel\Design\MenuCommand.cs (3)
47
public MenuCommand(EventHandler? handler,
CommandID
? command)
119
/// Gets the <see cref='System.ComponentModel.Design.
CommandID
'/> associated with this menu command.
121
public virtual
CommandID
? CommandID { get; }
System\ComponentModel\Design\StandardCommands.cs (55)
55
public static readonly
CommandID
AlignBottom = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidAlignBottom);
61
public static readonly
CommandID
AlignHorizontalCenters = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidAlignHorizontalCenters);
66
public static readonly
CommandID
AlignLeft = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidAlignLeft);
71
public static readonly
CommandID
AlignRight = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidAlignRight);
76
public static readonly
CommandID
AlignToGrid = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidAlignToGrid);
81
public static readonly
CommandID
AlignTop = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidAlignTop);
86
public static readonly
CommandID
AlignVerticalCenters = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidAlignVerticalCenters);
91
public static readonly
CommandID
ArrangeBottom = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidArrangeBottom);
96
public static readonly
CommandID
ArrangeRight = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidArrangeRight);
101
public static readonly
CommandID
BringForward = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidBringForward);
106
public static readonly
CommandID
BringToFront = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidBringToFront);
111
public static readonly
CommandID
CenterHorizontally = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidCenterHorizontally);
116
public static readonly
CommandID
CenterVertically = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidCenterVertically);
121
public static readonly
CommandID
ViewCode = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidViewCode);
126
public static readonly
CommandID
DocumentOutline = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidDocOutlineWindow);
131
public static readonly
CommandID
Copy = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidCopy);
136
public static readonly
CommandID
Cut = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidCut);
141
public static readonly
CommandID
Delete = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidDelete);
146
public static readonly
CommandID
Group = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidGroup);
151
public static readonly
CommandID
HorizSpaceConcatenate = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidHorizSpaceConcatenate);
156
public static readonly
CommandID
HorizSpaceDecrease = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidHorizSpaceDecrease);
161
public static readonly
CommandID
HorizSpaceIncrease = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidHorizSpaceIncrease);
167
public static readonly
CommandID
HorizSpaceMakeEqual = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidHorizSpaceMakeEqual);
171
public static readonly
CommandID
Paste = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidPaste);
176
public static readonly
CommandID
Properties = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidProperties);
181
public static readonly
CommandID
Redo = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidRedo);
186
public static readonly
CommandID
MultiLevelRedo = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidMultiLevelRedo);
191
public static readonly
CommandID
SelectAll = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidSelectAll);
196
public static readonly
CommandID
SendBackward = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidSendBackward);
201
public static readonly
CommandID
SendToBack = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidSendToBack);
206
public static readonly
CommandID
SizeToControl = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidSizeToControl);
211
public static readonly
CommandID
SizeToControlHeight = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidSizeToControlHeight);
216
public static readonly
CommandID
SizeToControlWidth = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidSizeToControlWidth);
221
public static readonly
CommandID
SizeToFit = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidSizeToFit);
226
public static readonly
CommandID
SizeToGrid = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidSizeToGrid);
231
public static readonly
CommandID
SnapToGrid = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidSnapToGrid);
236
public static readonly
CommandID
TabOrder = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidTabOrder);
241
public static readonly
CommandID
Undo = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidUndo);
246
public static readonly
CommandID
MultiLevelUndo = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidMultiLevelUndo);
251
public static readonly
CommandID
Ungroup = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidUngroup);
256
public static readonly
CommandID
VertSpaceConcatenate = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidVertSpaceConcatenate);
261
public static readonly
CommandID
VertSpaceDecrease = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidVertSpaceDecrease);
266
public static readonly
CommandID
VertSpaceIncrease = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidVertSpaceIncrease);
271
public static readonly
CommandID
VertSpaceMakeEqual = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidVertSpaceMakeEqual);
276
public static readonly
CommandID
ShowGrid = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidShowGrid);
281
public static readonly
CommandID
ViewGrid = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidViewGrid);
286
public static readonly
CommandID
Replace = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidReplace);
291
public static readonly
CommandID
PropertiesWindow = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidPropertiesWindow);
296
public static readonly
CommandID
LockControls = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidLockControls);
301
public static readonly
CommandID
F1Help = new CommandID(s_standardCommandSet, VSStandardCommands.cmdidF1Help);
307
public static readonly
CommandID
ArrangeIcons = new CommandID(s_ndpCommandSet, cmdidArrangeIcons);
312
public static readonly
CommandID
LineupIcons = new CommandID(s_ndpCommandSet, cmdidLineupIcons);
317
public static readonly
CommandID
ShowLargeIcons = new CommandID(s_ndpCommandSet, cmdidShowLargeIcons);
322
public static readonly
CommandID
VerbFirst = new CommandID(s_ndpCommandSet, CmdidDesignerVerbFirst);
327
public static readonly
CommandID
VerbLast = new CommandID(s_ndpCommandSet, CmdidDesignerVerbLast);
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridCommands.cs (4)
26
public static readonly
CommandID
Reset = new(wfcMenuCommand, 0x3000);
27
public static readonly
CommandID
Description = new(wfcMenuCommand, 0x3001);
28
public static readonly
CommandID
Hide = new(wfcMenuCommand, 0x3002);
29
public static readonly
CommandID
Commands = new(wfcMenuCommand, 0x3010);
System.Windows.Forms.Design (68)
System\ComponentModel\Design\DesignerActionPanel.cs (2)
38
private
CommandID
[]? _filteredCommandIDs;
129
public
CommandID
[] FilteredCommandIDs =>
System\ComponentModel\Design\MenuCommandService.cs (6)
77
CommandID
commandId = command.CommandID!;
315
public MenuCommand? FindCommand(
CommandID
commandID)
351
CommandID
cid = verb.CommandID!;
410
public virtual bool GlobalInvoke(
CommandID
commandID)
429
public virtual bool GlobalInvoke(
CommandID
commandId, object arg)
534
public virtual void ShowContextMenu(
CommandID
menuID, int x, int y)
System\Windows\Forms\Design\Behavior\Behavior.cs (1)
68
public virtual MenuCommand? FindCommand(
CommandID
commandId)
System\Windows\Forms\Design\Behavior\BehaviorService.cs (1)
539
private MenuCommand? FindCommand(
CommandID
commandID, IMenuCommandService menuService)
System\Windows\Forms\Design\Behavior\BehaviorService.MenuCommandHandler.cs (4)
13
private readonly Stack<
CommandID
> _currentCommands = new();
29
MenuCommand? IMenuCommandService.FindCommand(
CommandID
commandID)
47
bool IMenuCommandService.GlobalInvoke(
CommandID
commandID) => MenuService.GlobalInvoke(commandID);
49
void IMenuCommandService.ShowContextMenu(
CommandID
menuID, int x, int y)
System\Windows\Forms\Design\Behavior\DesignerActionKeyboardBehavior.cs (2)
29
public override MenuCommand? FindCommand(
CommandID
commandId)
35
foreach (
CommandID
candidateCommandId in _panel.FilteredCommandIDs)
System\Windows\Forms\Design\CommandSet.CommandSetItem.cs (4)
32
CommandID
id,
45
CommandID
id) : this(commandSet,
57
CommandID
id,
75
CommandID
id,
System\Windows\Forms\Design\CommandSet.cs (6)
222
ds?.SetValue(typeof(
CommandID
), new CommandID(new Guid("BA09E2AF-9DF2-4068-B2F0-4C7E5CC19E2F"), 0));
737
CommandID
? cmd = ((MenuCommand)sender!).CommandID;
964
CommandID
id = cmd.CommandID!;
1238
CommandID
? cmdID = cmd.CommandID;
2276
CommandID
? cmdID = cmd.CommandID;
2511
CommandID
? cmdID = cmd.CommandID;
System\Windows\Forms\Design\CommandSet.ImmediateCommandSetItem.cs (1)
21
public ImmediateCommandSetItem(CommandSet commandSet, EventHandler statusHandler, EventHandler invokeHandler,
CommandID
id, IUIService? uiService)
System\Windows\Forms\Design\ControlCommandSet.cs (2)
541
CommandID
cmd = ((MenuCommand)sender).CommandID;
967
CommandID
cmdID = cmd.CommandID;
System\Windows\Forms\Design\DataGridViewColumnDesigner.cs (1)
296
public override MenuCommand? FindCommand(
CommandID
commandId)
System\Windows\Forms\Design\MenuCommands.cs (35)
83
public static readonly
CommandID
SelectionMenu = new(s_wfMenuGroup, MnuidSelection);
85
public static readonly
CommandID
ContainerMenu = new(s_wfMenuGroup, MnuidContainer);
87
public static readonly
CommandID
TraySelectionMenu = new(s_wfMenuGroup, MnuidTraySelection);
89
public static readonly
CommandID
ComponentTrayMenu = new(s_wfMenuGroup, MnuidComponentTray);
92
public static readonly
CommandID
DesignerProperties = new(s_wfCommandSet, CmdidDesignerProperties);
95
public static readonly
CommandID
KeyCancel = new(s_guidVSStd2K, ECMD_CANCEL);
97
public static readonly
CommandID
KeyReverseCancel = new(s_wfCommandSet, CmdidReverseCancel);
99
public static readonly
CommandID
KeyInvokeSmartTag = new(s_guidVSStd2K, ECMD_INVOKESMARTTAG);
101
public static readonly
CommandID
KeyDefaultAction = new(s_guidVSStd2K, ECMD_RETURN);
103
public static readonly
CommandID
KeyMoveUp = new(s_guidVSStd2K, ECMD_UP);
105
public static readonly
CommandID
KeyMoveDown = new(s_guidVSStd2K, ECMD_DOWN);
107
public static readonly
CommandID
KeyMoveLeft = new(s_guidVSStd2K, ECMD_LEFT);
109
public static readonly
CommandID
KeyMoveRight = new(s_guidVSStd2K, ECMD_RIGHT);
111
public static readonly
CommandID
KeyNudgeUp = new(s_guidVSStd2K, ECMD_CTLMOVEUP);
113
public static readonly
CommandID
KeyNudgeDown = new(s_guidVSStd2K, ECMD_CTLMOVEDOWN);
115
public static readonly
CommandID
KeyNudgeLeft = new(s_guidVSStd2K, ECMD_CTLMOVELEFT);
117
public static readonly
CommandID
KeyNudgeRight = new(s_guidVSStd2K, ECMD_CTLMOVERIGHT);
119
public static readonly
CommandID
KeySizeWidthIncrease = new(s_guidVSStd2K, ECMD_RIGHT_EXT);
121
public static readonly
CommandID
KeySizeHeightIncrease = new(s_guidVSStd2K, ECMD_UP_EXT);
123
public static readonly
CommandID
KeySizeWidthDecrease = new(s_guidVSStd2K, ECMD_LEFT_EXT);
125
public static readonly
CommandID
KeySizeHeightDecrease = new(s_guidVSStd2K, ECMD_DOWN_EXT);
127
public static readonly
CommandID
KeyNudgeWidthIncrease = new(s_guidVSStd2K, ECMD_CTLSIZERIGHT);
129
public static readonly
CommandID
KeyNudgeHeightIncrease = new(s_guidVSStd2K, ECMD_CTLSIZEDOWN);
131
public static readonly
CommandID
KeyNudgeWidthDecrease = new(s_guidVSStd2K, ECMD_CTLSIZELEFT);
133
public static readonly
CommandID
KeyNudgeHeightDecrease = new(s_guidVSStd2K, ECMD_CTLSIZEUP);
135
public static readonly
CommandID
KeySelectNext = new(s_guidVSStd2K, ECMD_TAB);
137
public static readonly
CommandID
KeySelectPrevious = new(s_guidVSStd2K, ECMD_BACKTAB);
139
public static readonly
CommandID
KeyTabOrderSelect = new(s_wfCommandSet, CmdidSpace);
141
public static readonly
CommandID
EditLabel = new(s_vsStandardCommandSet97, CmdidEditLabel);
143
public static readonly
CommandID
KeyHome = new(s_guidVSStd2K, ECMD_HOME);
145
public static readonly
CommandID
KeyEnd = new(s_guidVSStd2K, ECMD_END);
147
public static readonly
CommandID
KeyShiftHome = new(s_guidVSStd2K, ECMD_HOME_EXT);
149
public static readonly
CommandID
KeyShiftEnd = new(s_guidVSStd2K, ECMD_END_EXT);
151
public static readonly
CommandID
SetStatusText = new(s_wfCommandSet, CmdidSetStatusText);
153
public static readonly
CommandID
SetStatusRectangle = new(s_wfCommandSet, CmdidSetStatusRectangle);
System\Windows\Forms\Design\StandardCommandToolStripMenuItem.cs (2)
16
private readonly
CommandID
_menuID;
24
CommandID
menuID,
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (1)
926
CommandID
cmd = ((MenuCommand)sender).CommandID;
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\MenuCommandsTests.cs (2)
59
public void MenuCommands_Commands_Get_ReturnsExpected(
CommandID
command,
CommandID
expected)
System.Windows.Forms.Tests (3)
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (3)
199
public MenuCommand FindCommand(
CommandID
commandID) => throw new NotImplementedException();
201
public bool GlobalInvoke(
CommandID
commandID) => throw new NotImplementedException();
207
public void ShowContextMenu(
CommandID
menuID, int x, int y) => throw new NotImplementedException();