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