8 instantiations of ToolboxItemCollection
System.Windows.Forms.Design.Tests (8)
System\Drawing\Design\ToolboxItemCollectionTests.cs (8)
12
ToolboxItemCollection collection =
new
((ToolboxItem[])[item]);
22
Assert.Throws<ArgumentNullException>("c", () => new
ToolboxItemCollection
((ToolboxItem[])null));
29
ToolboxItemCollection value =
new
((ToolboxItem[])[item]);
30
ToolboxItemCollection collection =
new
(value);
40
Assert.Throws<ArgumentNullException>("c", () => new
ToolboxItemCollection
((ToolboxItemCollection)null));
47
ToolboxItemCollection collection =
new
((ToolboxItem[])[item]);
56
ToolboxItemCollection collection =
new
((ToolboxItem[])[item]);
65
ToolboxItemCollection collection =
new
((ToolboxItem[])[item]);
23 references to ToolboxItemCollection
System.Windows.Forms.Design (12)
System\Drawing\Design\IToolboxItemProvider.cs (1)
8
ToolboxItemCollection
Items { get; }
System\Drawing\Design\IToolboxService.cs (4)
83
ToolboxItemCollection
GetToolboxItems();
88
ToolboxItemCollection
GetToolboxItems(IDesignerHost host);
93
ToolboxItemCollection
GetToolboxItems(string category);
98
ToolboxItemCollection
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
"/>.
16
public 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)
12
ToolboxItemCollection
collection = new((ToolboxItem[])[item]);
29
ToolboxItemCollection
value = new((ToolboxItem[])[item]);
30
ToolboxItemCollection
collection = new(value);
40
Assert.Throws<ArgumentNullException>("c", () => new ToolboxItemCollection((
ToolboxItemCollection
)null));
47
ToolboxItemCollection
collection = new((ToolboxItem[])[item]);
56
ToolboxItemCollection
collection = new((ToolboxItem[])[item]);
65
ToolboxItemCollection
collection = new((ToolboxItem[])[item]);
System.Windows.Forms.UI.IntegrationTests (4)
DesignBehaviorsTests.cs (4)
200
public
ToolboxItemCollection
GetToolboxItems()
205
public
ToolboxItemCollection
GetToolboxItems(IDesignerHost host)
210
public
ToolboxItemCollection
GetToolboxItems(string category)
215
public
ToolboxItemCollection
GetToolboxItems(string category, IDesignerHost host)