8 references to new
System.Windows.Forms (3)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
890clonedSubItems[index] = new ListViewSubItem(
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItemCollection.cs (2)
127ListViewSubItem item = new(_owner, text, foreColor, backColor, font); 176_owner._subItems.Add(new ListViewSubItem(_owner, item, foreColor, backColor, font));
System.Windows.Forms.Tests (5)
SerializableTypesTests.cs (1)
210ListViewSubItem listViewSubItem = new(
System\Windows\Forms\ListViewSubItemConverterTests.cs (1)
60new ListViewItem.ListViewSubItem(null, "text", Color.Red, Color.Blue, SystemFonts.MenuFont),
System\Windows\Forms\ListViewSubItemTests.cs (3)
68var subItem = new ListViewItem.ListViewSubItem(owner, text, foreColor, backColor, font); 556var subItem = new ListViewItem.ListViewSubItem(owner, "text", Color.Red, Color.Blue, SystemFonts.MenuFont); 572yield return new object[] { new ListViewItem.ListViewSubItem(null, "header", Color.Red, Color.Blue, SystemFonts.MenuFont) { Name = "name", Tag = "tag" } };