8 instantiations of ToolboxItemCollection
System.Windows.Forms.Design.Tests (8)
System\Drawing\Design\ToolboxItemCollectionTests.cs (8)
12ToolboxItemCollection collection = new((ToolboxItem[])[item]); 22Assert.Throws<ArgumentNullException>("c", () => new ToolboxItemCollection((ToolboxItem[])null)); 29ToolboxItemCollection value = new((ToolboxItem[])[item]); 30ToolboxItemCollection collection = new(value); 40Assert.Throws<ArgumentNullException>("c", () => new ToolboxItemCollection((ToolboxItemCollection)null)); 47ToolboxItemCollection collection = new((ToolboxItem[])[item]); 56ToolboxItemCollection collection = new((ToolboxItem[])[item]); 65ToolboxItemCollection collection = new((ToolboxItem[])[item]);
23 references to ToolboxItemCollection
System.Windows.Forms.Design (12)
System\Drawing\Design\IToolboxItemProvider.cs (1)
8ToolboxItemCollection Items { get; }
System\Drawing\Design\IToolboxService.cs (4)
83ToolboxItemCollection GetToolboxItems(); 88ToolboxItemCollection GetToolboxItems(IDesignerHost host); 93ToolboxItemCollection GetToolboxItems(string category); 98ToolboxItemCollection GetToolboxItems(string category, IDesignerHost host);
System\Drawing\Design\ToolboxItemCollection.cs (7)
14/// Initializes a new instance of <see cref="ToolboxItemCollection"/> based on another <see cref="ToolboxItemCollection"/>. 16public ToolboxItemCollection(ToolboxItemCollection value) 22/// Initializes a new instance of <see cref="ToolboxItemCollection"/> containing any array of <see cref="ToolboxItem"/> objects. 36/// <see cref="ToolboxItemCollection"/> contains the specified <see cref="ToolboxItem"/>. 41/// Copies the <see cref="ToolboxItemCollection"/> values to a one-dimensional <see cref="Array"/> instance at the 51/// the <see cref="ToolboxItemCollection"/> .
System.Windows.Forms.Design.Tests (7)
System\Drawing\Design\ToolboxItemCollectionTests.cs (7)
12ToolboxItemCollection collection = new((ToolboxItem[])[item]); 29ToolboxItemCollection value = new((ToolboxItem[])[item]); 30ToolboxItemCollection collection = new(value); 40Assert.Throws<ArgumentNullException>("c", () => new ToolboxItemCollection((ToolboxItemCollection)null)); 47ToolboxItemCollection collection = new((ToolboxItem[])[item]); 56ToolboxItemCollection collection = new((ToolboxItem[])[item]); 65ToolboxItemCollection collection = new((ToolboxItem[])[item]);
System.Windows.Forms.UI.IntegrationTests (4)
DesignBehaviorsTests.cs (4)
200public ToolboxItemCollection GetToolboxItems() 205public ToolboxItemCollection GetToolboxItems(IDesignerHost host) 210public ToolboxItemCollection GetToolboxItems(string category) 215public ToolboxItemCollection GetToolboxItems(string category, IDesignerHost host)