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