11 writes to TitleImageIndex
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
3680
group.
TitleImageIndex
= group.ImageIndexer.ActualIndex < _imageListGroup.Images.Count
System.Windows.Forms.Tests (10)
System\Windows\Forms\ListViewGroupTests.cs (10)
140
TitleImageIndex
= value
146
group.
TitleImageIndex
= value;
159
group.
TitleImageIndex
= value;
164
group.
TitleImageIndex
= value;
185
group.
TitleImageIndex
= value;
193
group.
TitleImageIndex
= value;
226
group.
TitleImageIndex
= value.Index;
251
Assert.Throws<ArgumentOutOfRangeException>("value", () => group.
TitleImageIndex
= value);
260
TitleImageIndex
= 0
398
group.
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"/>
5734
if (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)
31
Assert.Equal(-1, group.
TitleImageIndex
);
52
Assert.Equal(-1, group.
TitleImageIndex
);
82
Assert.Equal(-1, group.
TitleImageIndex
);
110
Assert.Equal(-1, group.
TitleImageIndex
);
143
Assert.Equal(value, group.
TitleImageIndex
);
147
Assert.Equal(value, group.
TitleImageIndex
);
160
Assert.Equal(value, group.
TitleImageIndex
);
165
Assert.Equal(value, group.
TitleImageIndex
);
186
Assert.Equal(value, group.
TitleImageIndex
);
194
Assert.Equal(value, group.
TitleImageIndex
);
263
Assert.Equal(0, group.
TitleImageIndex
);
268
Assert.Equal(ImageList.Indexer.DefaultIndex, group.
TitleImageIndex
);
399
Assert.Equal(value, group.
TitleImageIndex
);