26 references to AddRange
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ColumnHeaderCollectionEditor.cs (1)
39
list.
AddRange
(colHeaders);
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
159
_listViewCannedMasks.Columns.
AddRange
(
System\Windows\Forms\Design\StyleEditorForm.cs (1)
306
_columnsAndRowsListView.Columns.
AddRange
(
System.Windows.Forms.Tests (21)
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemDetailsAccessibleObjectTests.cs (6)
39
control.Columns.
AddRange
((ColumnHeader[])[new(), new(), new()]);
54
control.Columns.
AddRange
((ColumnHeader[])[new(), new(), new()]);
71
control.Columns.
AddRange
((ColumnHeader[])[new(), new(), new()]);
102
control.Columns.
AddRange
((ColumnHeader[])[new(), new(), new()]);
117
control.Columns.
AddRange
((ColumnHeader[])[new(), new(), new()]);
169
listView1.Columns.
AddRange
((ColumnHeader[])[columnHeader1, columnHeader2, columnHeader3]);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (8)
28
list.Columns.
AddRange
(
65
list.Columns.
AddRange
(
640
list.Columns.
AddRange
(
687
list.Columns.
AddRange
(
728
list.Columns.
AddRange
(
764
list.Columns.
AddRange
(
877
listView.Columns.
AddRange
([new() { Width = 120, Text = "Column 1" }, new() { Width = 120, Text = "Column 2" }]);
899
listView.Columns.
AddRange
([new() { Width = 120, Text = "Column 1" }, new() { Width = 120, Text = "Column 2" }]);
System\Windows\Forms\ColumnHeaderCollectionTests.cs (4)
361
collection.
AddRange
(items);
397
collection.
AddRange
(items);
418
Assert.Throws<ArgumentNullException>("values", () => collection.
AddRange
(null));
426
Assert.Throws<ArgumentNullException>("values", () => collection.
AddRange
([null]));
System\Windows\Forms\ListViewTests.cs (3)
5016
listView.Columns.
AddRange
(
5072
listView.Columns.
AddRange
(
5429
listView.Columns.
AddRange
(
System.Windows.Forms.UI.IntegrationTests (1)
ListViewTests.cs (1)
520
listView.Columns.
AddRange
([columnHeader1, columnHeader2, columnHeader3]);
WinFormsControlsTest (1)
ListViewTest.Designer.cs (1)
67
this.listView1.Columns.
AddRange
(new System.Windows.Forms.ColumnHeader[] {