11 writes to TitleImageIndex
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
3684group.TitleImageIndex = group.ImageIndexer.ActualIndex < _imageListGroup.Images.Count
System.Windows.Forms.Tests (10)
System\Windows\Forms\ListViewGroupTests.cs (10)
140TitleImageIndex = value 146group.TitleImageIndex = value; 159group.TitleImageIndex = value; 164group.TitleImageIndex = value; 185group.TitleImageIndex = value; 193group.TitleImageIndex = value; 226group.TitleImageIndex = value.Index; 251Assert.Throws<ArgumentOutOfRangeException>("value", () => group.TitleImageIndex = value); 260TitleImageIndex = 0 398group.TitleImageIndex = value;
16 references to TitleImageIndex
System.Windows.Forms (3)
System\Windows\Forms\Controls\ListView\ListView.cs (2)
925/// property, you can set the <see cref="ListViewGroup.TitleImageIndex"/> property of each <see cref="ListViewGroup"/> 5738if (group.TitleImageIndex != ImageList.Indexer.DefaultIndex || group.TitleImageKey != ImageList.Indexer.DefaultKey)
System\Windows\Forms\Controls\ListView\ListViewGroupImageIndexer.cs (1)
8/// ListViewGroupImageIndexer is a class used to support <see cref="ListViewGroup.TitleImageIndex"/> and
System.Windows.Forms.Tests (13)
System\Windows\Forms\ListViewGroupTests.cs (13)
31Assert.Equal(-1, group.TitleImageIndex); 52Assert.Equal(-1, group.TitleImageIndex); 82Assert.Equal(-1, group.TitleImageIndex); 110Assert.Equal(-1, group.TitleImageIndex); 143Assert.Equal(value, group.TitleImageIndex); 147Assert.Equal(value, group.TitleImageIndex); 160Assert.Equal(value, group.TitleImageIndex); 165Assert.Equal(value, group.TitleImageIndex); 186Assert.Equal(value, group.TitleImageIndex); 194Assert.Equal(value, group.TitleImageIndex); 263Assert.Equal(0, group.TitleImageIndex); 268Assert.Equal(ImageList.Indexer.DefaultIndex, group.TitleImageIndex); 399Assert.Equal(value, group.TitleImageIndex);