25 writes to ImageIndex
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
66ImageIndex = imageIndex;
System.Windows.Forms.Tests (21)
System\Windows\Forms\ColumnHeaderConverterTests.cs (1)
68new PrivateIntConstructor() { ImageIndex = 1 },
System\Windows\Forms\ColumnHeaderTests.cs (20)
286ImageIndex = value 292header.ImageIndex = value; 306ImageIndex = value 312header.ImageIndex = value; 327header.ImageIndex = value; 333header.ImageIndex = value; 353header.ImageIndex = value; 359header.ImageIndex = value; 384header.ImageIndex = value; 390header.ImageIndex = value; 413header.ImageIndex = value; 422header.ImageIndex = value; 442header.ImageIndex = value; 471header.ImageIndex = value; 486Assert.Throws<ArgumentOutOfRangeException>("value", () => header.ImageIndex = value); 498Assert.Throws<InvalidOperationException>(() => header.ImageIndex = 0); 526ImageIndex = 0, 1464ImageIndex = 1, 1501ImageIndex = 1, 1539ImageIndex = 1,
WinFormsControlsTest (3)
ListViewTest.cs (1)
228listView2.Columns[random.Next(0, listView2.Columns.Count)].ImageIndex = random.Next(0, 2);
ListViewTest.Designer.cs (2)
58this.columnHeader1.ImageIndex = 0; 62this.columnHeader2.ImageIndex = 1;
34 references to ImageIndex
System.Windows.Forms (2)
System\Windows\Forms\Controls\ListView\ColumnHeaderConverter.cs (2)
45if (col.ImageIndex != -1) 50id = new InstanceDescriptor(ctor, new object[] { col.ImageIndex }, false);
System.Windows.Forms.Tests (32)
System\Windows\Forms\ColumnHeaderCollectionTests.cs (2)
284Assert.Equal(imageIndex, header.ImageIndex); 792Assert.Equal(imageIndex, header.ImageIndex);
System\Windows\Forms\ColumnHeaderTests.cs (30)
22Assert.Equal(-1, header.ImageIndex); 48Assert.Equal(imageIndex, header.ImageIndex); 72Assert.Equal(-1, header.ImageIndex); 288Assert.Equal(value, header.ImageIndex); 293Assert.Equal(value, header.ImageIndex); 308Assert.Equal(value, header.ImageIndex); 313Assert.Equal(value, header.ImageIndex); 328Assert.Equal(value, header.ImageIndex); 334Assert.Equal(value, header.ImageIndex); 354Assert.Equal(-1, header.ImageIndex); 360Assert.Equal(-1, header.ImageIndex); 385Assert.Equal(expected, header.ImageIndex); 391Assert.Equal(expected, header.ImageIndex); 414Assert.Equal(value, header.ImageIndex); 423Assert.Equal(value, header.ImageIndex); 510Assert.Equal(-1, header.ImageIndex); 515Assert.Equal(-1, header.ImageIndex); 530Assert.Equal(ImageList.Indexer.DefaultIndex, header.ImageIndex); 535Assert.Equal(ImageList.Indexer.DefaultIndex, header.ImageIndex); 548Assert.Equal(-1, header.ImageIndex); 554Assert.Equal(-1, header.ImageIndex); 572Assert.Equal(-1, header.ImageIndex); 578Assert.Equal(-1, header.ImageIndex); 605Assert.Equal(-1, header.ImageIndex); 611Assert.Equal(-1, header.ImageIndex); 632Assert.Equal(-1, header.ImageIndex); 641Assert.Equal(-1, header.ImageIndex); 1476Assert.Equal(-1, header.ImageIndex); 1515Assert.Equal(-1, header.ImageIndex); 1555Assert.Equal(-1, header.ImageIndex);