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