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