20 references to DefaultKey
System.Windows.Forms (20)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (2)
498[DefaultValue(ImageList.Indexer.DefaultKey)] 507if (value == _imageIndex.Key && !string.Equals(value, ImageList.Indexer.DefaultKey))
System\Windows\Forms\Controls\ImageList\ImageList.Indexer.cs (3)
22private string _key = DefaultKey; 35_key = value ?? DefaultKey; 45_key = DefaultKey;
System\Windows\Forms\Controls\Labels\Label.cs (2)
459[DefaultValue(ImageList.Indexer.DefaultKey)] 469if (ImageKey == value && !string.Equals(value, ImageList.Indexer.DefaultKey))
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (2)
232[DefaultValue(ImageList.Indexer.DefaultKey)] 245if (value == _imageIndexer.Key && !string.Equals(value, ImageList.Indexer.DefaultKey))
System\Windows\Forms\Controls\ListView\ListView.cs (1)
5738if (group.TitleImageIndex != ImageList.Indexer.DefaultIndex || group.TitleImageKey != ImageList.Indexer.DefaultKey)
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (1)
305if (ImageIndexer.Key == value && value != ImageList.Indexer.DefaultKey)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
499[DefaultValue(ImageList.Indexer.DefaultKey)]
System\Windows\Forms\Controls\TreeView\TreeNode.cs (6)
544[DefaultValue(ImageList.Indexer.DefaultKey)] 554if (value == ImageIndexer.Key && !string.Equals(value, ImageList.Indexer.DefaultKey)) 927[DefaultValue(ImageList.Indexer.DefaultKey)] 937if (SelectedImageIndexer.Key == value && !string.Equals(value, ImageList.Indexer.DefaultKey)) 984[DefaultValue(ImageList.Indexer.DefaultKey)] 994if (StateImageIndexer.Key == value && !string.Equals(value, ImageList.Indexer.DefaultKey))
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
581[DefaultValue(ImageList.Indexer.DefaultKey)] 1052[DefaultValue(ImageList.Indexer.DefaultKey)]