25 references to ListViewItem
Accessibility_Core_App (1)
DataBindingExample.cs (1)
103ListViewItem item = new(itemName, i);
System.Windows.Forms (7)
System\Windows\Forms\Controls\ListView\ListView.ListViewItemCollection.cs (5)
94: new ListViewItem(value!.ToString(), -1); 154ListViewItem item = new(text, imageIndex); 206ListViewItem item = new(text, imageIndex) 391return Insert(index, new ListViewItem(text, imageIndex)); 418=> Insert(index, new ListViewItem(text, imageIndex)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (2)
74: this(text, ImageList.Indexer.DefaultIndex) 145: this(text, imageIndex)
System.Windows.Forms.Tests (11)
SerializableTypesTests.cs (1)
163ListViewItem listViewItem = new("Item1", 0)
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (1)
1624ListViewItem listViewItem = new("Item 1", imageIndex: hasImage ? 0 : -1);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemDetailsAccessibleObjectTests.cs (1)
151ListViewItem listViewItem = new("1", 0);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemImageAccessibleObjectTests.cs (2)
17ListViewItem listViewItem = new("Test", 0); 42ListViewItem listViewItem = new("Test", 0);
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemWithImageAccessibleObjectTests.cs (3)
33ListViewItem listViewItem = new("Test", 0); 78ListViewItem listViewItem = new("Test", 0); 115ListViewItem listViewItem = new("Test", 0);
System\Windows\Forms\AccessibleObjects\ListViewLabelEditAccessibleObjectTests.cs (1)
163ListViewItem item = new("Test", 0);
System\Windows\Forms\ListViewItemConverterTests.cs (1)
99new ListViewItem("text", 1),
System\Windows\Forms\ListViewItemTests.cs (1)
695ListViewItem item = new(text, imageIndex);
TrimTestBinaryDeserialization (1)
Form1.Designer.cs (1)
33ListViewItem listViewItem1 = new ListViewItem("This is a ListViewItem with an image", 0);
WinFormsControlsTest (5)
ListViewTest.cs (2)
82ListViewItem item1 = new("item1", 0) 90ListViewItem item2 = new("item2", 1);
MultipleControls.cs (3)
44ListViewItem item1 = new("item1", 0) 52ListViewItem item2 = new("item2", 1); 56ListViewItem item3 = new("item3", 0)