6 writes to ImageKey
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
1242ImageKey = imageKey;
System.Windows.Forms.Tests (4)
System\Windows\Forms\ListViewTests.cs (4)
5060ListViewItem listViewItem2 = new("item2") { ImageKey = "SmallABlue.bmp" }; 5062ListViewItem listViewItem4 = new("Items 4") { ImageKey = "SmallA.bmp" }; 5064ListViewItem listViewItem6 = new("Items 6") { ImageKey = "SmallABlue.bmp" }; 5065ListViewItem listViewItem7 = new("Items 7") { ImageKey = "SmallA.bmp" };
WinFormsControlsTest (1)
ListViewTest.cs (1)
256ImageKey = file,
29 references to ImageKey
System.Windows.Forms (6)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (3)
1200else if (entry.Name == nameof(ImageKey)) 1202imageKey = info.GetString(nameof(ImageKey)); 1270info.AddValue(nameof(ImageKey), ImageIndexer.Key);
System\Windows\Forms\Controls\ListView\ListViewItemConverter.cs (2)
53if (!string.IsNullOrEmpty(item.ImageKey)) 59return new InstanceDescriptor(ctor, new object[] { subItemArray, item.ImageKey }, false);
System\Windows\Forms\Controls\ListView\ListViewItemImageIndexer.cs (1)
9/// <see cref="ListViewItem.ImageKey"/>.
System.Windows.Forms.Tests (23)
SerializableTypesTests.cs (1)
185Assert.Empty(result.ImageKey);
System\Windows\Forms\ListViewItemTests.cs (22)
24Assert.Equal(string.Empty, item.ImageKey); 63Assert.Same(expectedImageKey, item.ImageKey); 101Assert.Empty(item.ImageKey); 139Assert.Same(expectedImageKey, item.ImageKey); 177Assert.Empty(item.ImageKey); 214Assert.Same(expectedImageKey, item.ImageKey); 251Assert.Equal(string.Empty, item.ImageKey); 289Assert.Same(expectedImageKey, item.ImageKey); 327Assert.Empty(item.ImageKey); 364Assert.Same(expectedImageKey, item.ImageKey); 402Assert.Empty(item.ImageKey); 440Assert.Same(expectedImageKey, item.ImageKey); 477Assert.Equal(string.Empty, item.ImageKey); 515Assert.Empty(item.ImageKey); 553Assert.Equal(expectedImageKey, item.ImageKey); 591Assert.Equal(string.Empty, item.ImageKey); 628Assert.Equal(string.Empty, item.ImageKey); 666Assert.Equal(expectedImageKey, item.ImageKey); 704Assert.Equal(string.Empty, item.ImageKey); 741Assert.Equal(string.Empty, item.ImageKey); 780Assert.Empty(item.ImageKey); 810Assert.Empty(item.ImageKey);