1 override of Key
System.Windows.Forms (1)
System\Windows\Forms\Controls\Labels\Label.LabelImageIndexer.cs (1)
29public override string Key
19 writes to Key
System.Windows.Forms (19)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
519_imageIndex.Key = value;
System\Windows\Forms\Controls\Labels\Label.LabelImageIndexer.cs (1)
34base.Key = value;
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
250_imageIndexer.Key = value;
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (1)
310ImageIndexer.Key = value;
System\Windows\Forms\Controls\ListView\ListViewItem.cs (5)
177ImageIndexer.Key = imageKey; 184ImageIndexer.Key = imageKey; 210ImageIndexer.Key = imageKey; 511ImageIndexer.Key = value; 927newItem.ImageIndexer.Key = ImageIndexer.Key;
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
259ImageIndexer.Key = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
1160ImageIndexer.Key = value;
System\Windows\Forms\Controls\TreeView\TreeNode.cs (6)
559ImageIndexer.Key = value; 942SelectedImageIndexer.Key = value; 999StateImageIndexer.Key = value; 1364node.ImageIndexer.Key = ImageIndexer.Key; 1370node.SelectedImageIndexer.Key = SelectedImageIndexer.Key; 1376node.StateImageIndexer.Key = StateImageIndexer.Key;
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
593ImageIndexer.Key = value; 1064SelectedImageIndexer.Key = value;
35 references to Key
System.Windows.Forms (35)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (2)
504get => _imageIndex.Key; 507if (value == _imageIndex.Key && !string.Equals(value, ImageList.Indexer.DefaultKey))
System\Windows\Forms\Controls\ImageList\ImageList.Indexer.cs (1)
62return ImageList.Images.IndexOfKey(Key);
System\Windows\Forms\Controls\Labels\Label.LabelImageIndexer.cs (1)
31get => base.Key;
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (2)
241return _imageIndexer.Key; 245if (value == _imageIndexer.Key && !string.Equals(value, ImageList.Indexer.DefaultKey))
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (2)
302get => ImageIndexer.Key; 305if (ImageIndexer.Key == value && value != ImageList.Indexer.DefaultKey)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (5)
508get => ImageIndexer.Key; 925if (!string.IsNullOrEmpty(ImageIndexer.Key)) 927newItem.ImageIndexer.Key = ImageIndexer.Key; 1268if (!string.IsNullOrEmpty(ImageIndexer.Key)) 1270info.AddValue(nameof(ImageKey), ImageIndexer.Key);
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
256get => ImageIndexer.Key;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (2)
1157get => ImageIndexer.Key; 3339=> Image is not null && ImageIndexer.ActualIndex >= 0 && !string.IsNullOrEmpty(ImageIndexer.Key);
System\Windows\Forms\Controls\TreeView\TreeNode.cs (15)
551get => ImageIndexer.Key; 554if (value == ImageIndexer.Key && !string.Equals(value, ImageList.Indexer.DefaultKey)) 934get => SelectedImageIndexer.Key; 937if (SelectedImageIndexer.Key == value && !string.Equals(value, ImageList.Indexer.DefaultKey)) 991get => StateImageIndexer.Key; 994if (StateImageIndexer.Key == value && !string.Equals(value, ImageList.Indexer.DefaultKey)) 1362if (!(string.IsNullOrEmpty(ImageIndexer.Key))) 1364node.ImageIndexer.Key = ImageIndexer.Key; 1368if (!(string.IsNullOrEmpty(SelectedImageIndexer.Key))) 1370node.SelectedImageIndexer.Key = SelectedImageIndexer.Key; 1374if (!(string.IsNullOrEmpty(StateImageIndexer.Key))) 1376node.StateImageIndexer.Key = StateImageIndexer.Key; 2065si.AddValue(nameof(ImageKey), ImageIndexer.Key); 2067si.AddValue(nameof(SelectedImageKey), SelectedImageIndexer.Key); 2076si.AddValue(nameof(StateImageKey), StateImageIndexer.Key);
System\Windows\Forms\Controls\TreeView\TreeView.cs (4)
588get => ImageIndexer.Key; 591if (ImageIndexer.Key != value) 1059get => SelectedImageIndexer.Key; 1062if (SelectedImageIndexer.Key != value)