2 types derived from DesignerActionMethodItem
DesignSurface (1)
CustomControls\DesignerActionVerbItem.cs (1)
6internal class DesignerActionVerbItem : DesignerActionMethodItem
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignerActionVerbItem.cs (1)
6internal class DesignerActionVerbItem : DesignerActionMethodItem
34 instantiations of DesignerActionMethodItem
System.Windows.Forms.Design (22)
System\ComponentModel\Design\DesignerActionList.cs (1)
47items.Add(info.Name, new DesignerActionMethodItem(this, info.Name, dispName, cat, desc));
System\ComponentModel\Design\ToolStripContainerActionList.cs (2)
331items.Add(new DesignerActionMethodItem( 339items.Add(new DesignerActionMethodItem(this, nameof(ReparentControls), SR.DesignerShortcutReparentControls));
System\Windows\Forms\Design\DataGridViewDesigner.cs (2)
876new DesignerActionMethodItem(this, 880new DesignerActionMethodItem(this,
System\Windows\Forms\Design\ImageListActionList.cs (1)
52new DesignerActionMethodItem(this, nameof(ChooseImages), SR.ImageListActionList_ChooseImagesDisplayName, SR.LinksCategoryName, SR.ImageListActionList_ChooseImagesDescription, true)
System\Windows\Forms\Design\ListControlUnboundActionList.cs (1)
27new DesignerActionMethodItem(this, "InvokeItemsDialog",
System\Windows\Forms\Design\ListViewActionList.cs (3)
76new DesignerActionMethodItem(this, "InvokeItemsDialog", 80new DesignerActionMethodItem(this, "InvokeColumnsDialog", 84new DesignerActionMethodItem(this, "InvokeGroupsDialog",
System\Windows\Forms\Design\MaskedTextBoxDesignerActionList.cs (1)
60DesignerActionItemCollection items = [new DesignerActionMethodItem(this, "SetMask", SR.MaskedTextBoxDesignerVerbsSetMaskDesc)];
System\Windows\Forms\Design\NotifyIconDesignerActionList.cs (1)
25new DesignerActionMethodItem(this,
System\Windows\Forms\Design\PictureBoxActionList.cs (1)
42new DesignerActionMethodItem(this, "ChooseImage", SR.ChooseImageDisplayName, SR.PropertiesCategoryName, SR.ChooseImageDescription, true),
System\Windows\Forms\Design\RichTextBoxActionList.cs (1)
27new DesignerActionMethodItem(this, "EditLines", SR.EditLinesDisplayName, SR.LinksCategoryName, SR.EditLinesDescription, true),
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (5)
401new DesignerActionMethodItem(this, 405new DesignerActionMethodItem(this, 413items.Add(new DesignerActionMethodItem(this, 421items.Add(new DesignerActionMethodItem(this, 427items.Add(new DesignerActionMethodItem(this,
System\Windows\Forms\Design\ToolStripActionList.cs (2)
139items.Add(new DesignerActionMethodItem(this, "InvokeEmbedVerb", SR.ToolStripDesignerEmbedVerb, "", SR.ToolStripDesignerEmbedVerbDesc, true)); 146items.Add(new DesignerActionMethodItem(this, "InvokeInsertStandardItemsVerb", SR.ToolStripDesignerStandardItemsVerb, "", SR.ToolStripDesignerStandardItemsVerbDesc, true));
System\Windows\Forms\Design\TreeViewActionList.cs (1)
42new DesignerActionMethodItem(this, "InvokeNodesDialog", SR.InvokeNodesDialogDisplayName, SR.PropertiesCategoryName, SR.InvokeNodesDialogDescription, true),
System.Windows.Forms.Design.Tests (12)
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (12)
23DesignerActionMethodItem item = new(actionList, memberName, displayName, category, description, includeAsDesignerVerb); 49DesignerActionMethodItem item = new(actionList, memberName, displayName, category, description); 75DesignerActionMethodItem item = new(actionList, memberName, displayName, category, includeAsDesignerVerb); 101DesignerActionMethodItem item = new(actionList, memberName, displayName, category); 127DesignerActionMethodItem item = new(actionList, memberName, displayName, includeAsDesignerVerb); 153DesignerActionMethodItem item = new(actionList, memberName, displayName); 177DesignerActionMethodItem item = new(null, "memberName", "displayName", "category", "description") 194DesignerActionMethodItem item = new(list, memberName, "displayName", "category", "description"); 207DesignerActionMethodItem item = new(null, "memberName", "displayName", "category", "description"); 218DesignerActionMethodItem item = new(list, memberName, "displayName", "category", "description"); 226DesignerActionMethodItem item = new(list, null, "displayName", "category", "description"); 234DesignerActionMethodItem item = new(list, nameof(SubDesignerActionList.MethodWithParameters), "displayName", "category", "description");
33 references to DesignerActionMethodItem
System.Design (1)
artifacts\obj\System.Design.Facade\Release\net9.0\System.Design.Forwards.cs (1)
19[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.DesignerActionMethodItem))]
System.Windows.Forms.Design (7)
System\ComponentModel\Design\DesignerActionPanel.cs (2)
583else if (item is DesignerActionMethodItem methodItem) 663if (item is DesignerActionMethodItem methodItem)
System\ComponentModel\Design\DesignerActionPanel.MethodLine.cs (4)
15private DesignerActionMethodItem? _methodItem; 117public static StandardLineInfo CreateLineInfo(DesignerActionList list, DesignerActionMethodItem item) => new Info(list, item); 119private sealed class Info(DesignerActionList list, DesignerActionMethodItem item) : StandardLineInfo(list) 121public override DesignerActionMethodItem Item { get; } = item;
System\ComponentModel\Design\MenuCommandService.cs (1)
233if (dai[i] is DesignerActionMethodItem dami && dami.IncludeAsDesignerVerb)
System.Windows.Forms.Design.Tests (25)
System\ComponentModel\Design\DesignerActionListTests.cs (8)
72DesignerActionMethodItem item1 = Assert.IsType<DesignerActionMethodItem>(items[0]); 84DesignerActionMethodItem item3 = Assert.IsType<DesignerActionMethodItem>(items[2]); 96DesignerActionMethodItem item5 = Assert.IsType<DesignerActionMethodItem>(items[4]); 108DesignerActionMethodItem item7 = Assert.IsType<DesignerActionMethodItem>(items[6]);
System\ComponentModel\Design\DesignerActionMethodItemTests.cs (12)
23DesignerActionMethodItem item = new(actionList, memberName, displayName, category, description, includeAsDesignerVerb); 49DesignerActionMethodItem item = new(actionList, memberName, displayName, category, description); 75DesignerActionMethodItem item = new(actionList, memberName, displayName, category, includeAsDesignerVerb); 101DesignerActionMethodItem item = new(actionList, memberName, displayName, category); 127DesignerActionMethodItem item = new(actionList, memberName, displayName, includeAsDesignerVerb); 153DesignerActionMethodItem item = new(actionList, memberName, displayName); 177DesignerActionMethodItem item = new(null, "memberName", "displayName", "category", "description") 194DesignerActionMethodItem item = new(list, memberName, "displayName", "category", "description"); 207DesignerActionMethodItem item = new(null, "memberName", "displayName", "category", "description"); 218DesignerActionMethodItem item = new(list, memberName, "displayName", "category", "description"); 226DesignerActionMethodItem item = new(list, null, "displayName", "category", "description"); 234DesignerActionMethodItem item = new(list, nameof(SubDesignerActionList.MethodWithParameters), "displayName", "category", "description");
System\ComponentModel\Design\DesignerActionServiceTests.cs (4)
504DesignerActionMethodItem actionItem = Assert.IsAssignableFrom<DesignerActionMethodItem>(Assert.Single(verbActionActionItems)); 601DesignerActionMethodItem actionItem = Assert.IsAssignableFrom<DesignerActionMethodItem>(Assert.Single(actionList.GetSortedActionItems()));
System\Windows\Forms\Design\ImageListActionListTests.cs (1)
83items[2].Should().BeOfType<DesignerActionMethodItem>();