26 instantiations of DesignerVerbCollection
System.Windows.Forms.Design (5)
System\ComponentModel\Design\MenuCommandService.cs (1)
307_currentVerbs = new(result);
System\Windows\Forms\Design\DataGridViewDesigner.cs (1)
174designerVerbs = new DesignerVerbCollection();
System\Windows\Forms\Design\MaskedTextBoxDesigner.cs (1)
295_verbs = new DesignerVerbCollection();
System\Windows\Forms\Design\TabControlDesigner.cs (1)
68_verbs = new DesignerVerbCollection();
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
245_verbs = new DesignerVerbCollection();
System.Windows.Forms.Design.Tests (21)
System\ComponentModel\Design\DesignerActionServiceTests.cs (5)
431.Returns(new DesignerVerbCollection()); 440DesignerVerbCollection verbs = new() { null, verb }; 478DesignerVerbCollection verbs = new() { null, new DesignerVerb(null, null) { Enabled = false }, new DesignerVerb(null, null) { Visible = false }, verb }; 522DesignerVerbCollection verbs = new() { null, new DesignerVerb(null, null) { Enabled = false }, new DesignerVerb(null, null) { Visible = false }, verb }; 578DesignerVerbCollection verbs = new() { null, new DesignerVerb(null, null) { Enabled = false }, new DesignerVerb(null, null) { Visible = false }, verb };
System\ComponentModel\Design\DesignerVerbCollectionTests.cs (16)
11DesignerVerbCollection collection = new(); 25DesignerVerbCollection collection = new(value); 32Assert.Throws<ArgumentNullException>("value", () => new DesignerVerbCollection(null)); 38DesignerVerbCollection collection = new(); 63DesignerVerbCollection collection = new(); 76DesignerVerbCollection collection = new(); 77collection.AddRange(new DesignerVerbCollection(value)); 81collection.AddRange(new DesignerVerbCollection(value)); 88DesignerVerbCollection collection = new(); 96DesignerVerbCollection collection = new(); 120DesignerVerbCollection collection = new(); 140DesignerVerbCollection collection = new(); 166DesignerVerbCollection collection = new(); 178DesignerVerbCollection collection = new(); 189DesignerVerbCollection collection = new(); 200DesignerVerbCollection collection = new();
49 references to DesignerVerbCollection
netstandard (1)
netstandard.cs (1)
243[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.DesignerVerbCollection))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
229[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.DesignerVerbCollection))]
System.ComponentModel.TypeConverter (3)
System\ComponentModel\Design\DesignerVerbCollection.cs (1)
34public void AddRange(DesignerVerbCollection value)
System\ComponentModel\Design\IDesigner.cs (1)
21DesignerVerbCollection? Verbs { get; }
System\ComponentModel\Design\IMenuCommandService.cs (1)
16DesignerVerbCollection Verbs { get; }
System.Windows.Forms.Design (20)
System\ComponentModel\Design\ComponentDesigner.cs (2)
17private DesignerVerbCollection? _verbs; 183public virtual DesignerVerbCollection Verbs => _verbs ??= [];
System\ComponentModel\Design\DesignerActionService.cs (1)
187DesignerVerbCollection? verbs = designerCommandSet.Verbs;
System\ComponentModel\Design\DesignerCommandSet.cs (2)
15public DesignerVerbCollection? Verbs => (DesignerVerbCollection?)GetCommands(VerbsCommand);
System\ComponentModel\Design\MenuCommandService.cs (3)
30private DesignerVerbCollection? _currentVerbs; 60public virtual DesignerVerbCollection Verbs 194DesignerVerbCollection? localVerbs = null;
System\Windows\Forms\Design\BaseContextMenuStrip.cs (1)
158DesignerVerbCollection verbCollection = menuCommandService.Verbs;
System\Windows\Forms\Design\Behavior\BehaviorService.MenuCommandHandler.cs (1)
54DesignerVerbCollection IMenuCommandService.Verbs => MenuService.Verbs;
System\Windows\Forms\Design\DataGridViewDesigner.cs (2)
14protected DesignerVerbCollection? designerVerbs; 168public override DesignerVerbCollection Verbs
System\Windows\Forms\Design\MaskedTextBoxDesigner.cs (2)
16private DesignerVerbCollection? _verbs; 289public override DesignerVerbCollection Verbs
System\Windows\Forms\Design\TabControlDesigner.cs (2)
18private DesignerVerbCollection _verbs; 60public override DesignerVerbCollection Verbs
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (2)
29private DesignerVerbCollection _verbs; // add col/row and remove col/row tab verbs 236public override DesignerVerbCollection Verbs
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
75DesignerVerbCollection verbs = Verbs;
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
63DesignerVerbCollection cmVerbs = Verbs;
System.Windows.Forms.Design.Tests (23)
System\ComponentModel\Design\DesignerActionServiceTests.cs (4)
440DesignerVerbCollection verbs = new() { null, verb }; 478DesignerVerbCollection verbs = new() { null, new DesignerVerb(null, null) { Enabled = false }, new DesignerVerb(null, null) { Visible = false }, verb }; 522DesignerVerbCollection verbs = new() { null, new DesignerVerb(null, null) { Enabled = false }, new DesignerVerb(null, null) { Visible = false }, verb }; 578DesignerVerbCollection verbs = new() { null, new DesignerVerb(null, null) { Enabled = false }, new DesignerVerb(null, null) { Visible = false }, verb };
System\ComponentModel\Design\DesignerCommandSetTests.cs (1)
29DesignerVerbCollection collection = [];
System\ComponentModel\Design\DesignerHostTests.cs (1)
3166public DesignerVerbCollection Verbs { get; }
System\ComponentModel\Design\DesignerVerbCollectionTests.cs (14)
11DesignerVerbCollection collection = new(); 25DesignerVerbCollection collection = new(value); 38DesignerVerbCollection collection = new(); 63DesignerVerbCollection collection = new(); 76DesignerVerbCollection collection = new(); 88DesignerVerbCollection collection = new(); 90Assert.Throws<ArgumentNullException>("value", () => collection.AddRange((DesignerVerbCollection)null)); 96DesignerVerbCollection collection = new(); 120DesignerVerbCollection collection = new(); 140DesignerVerbCollection collection = new(); 166DesignerVerbCollection collection = new(); 178DesignerVerbCollection collection = new(); 189DesignerVerbCollection collection = new(); 200DesignerVerbCollection collection = new();
System\ComponentModel\Design\SiteNestedContainerTests.cs (1)
1038public DesignerVerbCollection Verbs { get; }
System\Windows\Forms\Design\TabControlDesignerTests.cs (2)
103var verbs = designer.Verbs; 119var verbs = designer.Verbs;
System.Windows.Forms.Tests (1)
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (1)
193public DesignerVerbCollection Verbs { get; } = new([new DesignerVerb("", null)]);