1 override of ActualIndex
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Label.cs (1)
1840public override int ActualIndex {
38 references to ActualIndex
System.Windows.Forms (38)
winforms\Managed\System\WinForms\ButtonBase.cs (1)
330int actualIndex = imageIndex.ActualIndex;
winforms\Managed\System\WinForms\ColumnHeader.cs (1)
99int imgIndex = this.imageIndexer.ActualIndex;
winforms\Managed\System\WinForms\ListView.cs (5)
2427if (this.Items[i].ImageIndexer.ActualIndex > -1) { 3890lvItem.iImage = li.ImageIndexer.ActualIndex; 4037if (item.ImageIndexer.ActualIndex != -1 && item.ImageIndexer.ActualIndex >= imageListLarge.Images.Count) { 4041SetItemImage(item.Index,item.ImageIndexer.ActualIndex);
winforms\Managed\System\WinForms\ListViewItem.cs (2)
543listView.SetItemImage(Index, ImageIndexer.ActualIndex); 578listView.SetItemImage(Index, ImageIndexer.ActualIndex);
winforms\Managed\System\WinForms\TabPage.cs (1)
582tcitem.iImage = ImageIndexer.ActualIndex;
winforms\Managed\System\WinForms\ToolBarButton.cs (2)
587button.iBitmap = ImageIndexer.ActualIndex; 641button.iImage = ImageIndexer.ActualIndex;
winforms\Managed\System\WinForms\ToolStripItem.cs (8)
1245if (image == null && (Owner != null) && (Owner.ImageList != null) && ImageIndexer.ActualIndex >= 0) { 1246if (ImageIndexer.ActualIndex < Owner.ImageList.Images.Count) { 1248image = Owner.ImageList.Images[ImageIndexer.ActualIndex]; 1914bool usingImageList = ((Owner != null) && (Owner.ImageList != null) && (ImageIndexer.ActualIndex >= 0)); 2774if (ImageIndexer.ActualIndex >= 0) { 3723return (Image != null) && (ImageIndexer.ActualIndex < 0); 3730return (Image != null) && (ImageIndexer.ActualIndex >= 0) && (ImageIndexer.Key != null && ImageIndexer.Key.Length != 0); 3737return (Image != null) && (ImageIndexer.ActualIndex >= 0) && (ImageIndexer.Index != -1);
winforms\Managed\System\WinForms\TreeNode.cs (18)
1683tvis.item_iImage = (ImageIndexer.ActualIndex == -1) ? tv.ImageIndexer.ActualIndex : ImageIndexer.ActualIndex; 1684tvis.item_iSelectedImage = (SelectedImageIndexer.ActualIndex == -1) ? tv.SelectedImageIndexer.ActualIndex : SelectedImageIndexer.ActualIndex; 1695else if (tv.StateImageList != null && StateImageIndexer.ActualIndex >= 0) { 1698tvis.item_state = ((StateImageIndexer.ActualIndex + 1) << SHIFTVAL); 1928item.iImage = (ImageIndexer.ActualIndex == -1) ? tv.ImageIndexer.ActualIndex : ImageIndexer.ActualIndex; 1930item.iSelectedImage = (SelectedImageIndexer.ActualIndex == -1) ? tv.SelectedImageIndexer.ActualIndex : SelectedImageIndexer.ActualIndex; 1933if (StateImageIndexer.ActualIndex != -1) { 1934item.state = ((StateImageIndexer.ActualIndex + 1) << SHIFTVAL); 1963item.iImage = Math.Max(0, ((ImageIndexer.ActualIndex >= tv.ImageList.Images.Count) ? tv.ImageList.Images.Count - 1 : ImageIndexer.ActualIndex));