1 override of ActualIndex
System.Windows.Forms (1)
System\Windows\Forms\Controls\Labels\Label.LabelImageIndexer.cs (1)
49public override int ActualIndex
38 references to ActualIndex
System.Windows.Forms (38)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
378int actualIndex = _imageIndex.ActualIndex;
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
91int imgIndex = _imageIndexer.ActualIndex;
System\Windows\Forms\Controls\ListView\ListView.cs (7)
2524if (Items[i].ImageIndexer.ActualIndex > -1) 3684group.TitleImageIndex = group.ImageIndexer.ActualIndex < _imageListGroup.Images.Count 3685? group.ImageIndexer.ActualIndex 4126iImage = li.ImageIndexer.ActualIndex, 4312int imageIndex = item.ImageIndexer.ActualIndex < _imageListLarge.Images.Count 4313? item.ImageIndexer.ActualIndex 5740lvgroup.iTitleImage = group.ImageIndexer.ActualIndex;
System\Windows\Forms\Controls\ListView\ListViewItem.cs (2)
489_listView.SetItemImage(itemIndex: Index, imageIndex: ImageIndexer.ActualIndex); 515_listView.SetItemImage(Index, ImageIndexer.ActualIndex);
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
2121tcitem.iImage = tabPage.ImageIndexer.ActualIndex;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (8)
1026if (image is null && Owner?.ImageList is not null && ImageIndexer.ActualIndex >= 0) 1029if (!disposing && ImageIndexer.ActualIndex < Owner.ImageList.Images.Count) 1032image = Owner.ImageList.Images[ImageIndexer.ActualIndex]; 1557bool usingImageList = ((Owner is not null) && (Owner.ImageList is not null) && (ImageIndexer.ActualIndex >= 0)); 2392if (ImageIndexer.ActualIndex >= 0) 3332private bool ShouldSerializeImage() => Image is not null && ImageIndexer.ActualIndex < 0; 3339=> Image is not null && ImageIndexer.ActualIndex >= 0 && !string.IsNullOrEmpty(ImageIndexer.Key); 3346=> Image is not null && ImageIndexer.ActualIndex >= 0 && ImageIndexer.Index != ImageList.Indexer.DefaultIndex;
System\Windows\Forms\Controls\TreeView\TreeNode.cs (18)
1845tvis.item.iImage = (ImageIndexer.ActualIndex == ImageList.Indexer.DefaultIndex) ? tv.ImageIndexer.ActualIndex : ImageIndexer.ActualIndex; 1846tvis.item.iSelectedImage = (SelectedImageIndexer.ActualIndex == ImageList.Indexer.DefaultIndex) ? tv.SelectedImageIndexer.ActualIndex : SelectedImageIndexer.ActualIndex; 1858else if (tv.StateImageList is not null && StateImageIndexer.ActualIndex >= 0) 1862tvis.item.state = (TREE_VIEW_ITEM_STATE_FLAGS)((StateImageIndexer.ActualIndex + 1) << SHIFTVAL); 2155item.iImage = IsSpecialImageIndex(ImageIndexer.ActualIndex) 2156? tv.ImageIndexer.ActualIndex 2157: ImageIndexer.ActualIndex; 2162item.iSelectedImage = IsSpecialImageIndex(SelectedImageIndexer.ActualIndex) 2163? tv.SelectedImageIndexer.ActualIndex 2164: SelectedImageIndexer.ActualIndex; 2174if (StateImageIndexer.ActualIndex != ImageList.Indexer.DefaultIndex) 2176item.state = (TREE_VIEW_ITEM_STATE_FLAGS)((StateImageIndexer.ActualIndex + 1) << SHIFTVAL); 2215tv.ImageList is { } imageList && ImageIndexer.ActualIndex >= imageList.Images.Count 2217: ImageIndexer.ActualIndex)