13 writes to ImageKey
System.Windows.Forms.Tests (13)
System\Windows\Forms\ButtonBaseTests.cs (13)
1445ImageKey = "ImageKey" 2106ImageKey = "ImageKey", 2220ImageKey = value 2227control.ImageKey = value; 2242control.ImageKey = ImageList.Indexer.DefaultKey; 2258ImageKey = value 2265control.ImageKey = value; 2281control.ImageKey = value; 2287control.ImageKey = value; 2312control.ImageKey = value; 2318control.ImageKey = value; 2339control.ImageKey = value; 2348control.ImageKey = value;
38 references to ImageKey
System.Windows.Forms (5)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (5)
447/// <inheritdoc cref="ImageKey"/> 486/// The <see cref="ImageKey"/> property specifies the image from the image list to display on the control. 489/// <see cref="ImageKey"/> and <see cref="ImageIndex"/> are mutually exclusive, meaning if one is set, the other 490/// is set to an invalid value and ignored. If you set the <see cref="ImageKey"/> property, the 492/// <see cref="ImageIndex"/> property, the <see cref="ImageKey"/> is automatically set to an empty string ("").
System.Windows.Forms.Tests (33)
System\Windows\Forms\ButtonBaseTests.cs (30)
76Assert.Empty(control.ImageKey); 1426Assert.Empty(control.ImageKey); 1434Assert.Empty(control.ImageKey); 1450Assert.Equal("ImageKey", control.ImageKey); 1458Assert.Equal(ImageList.Indexer.DefaultKey, control.ImageKey); 1475Assert.Empty(control.ImageKey); 1484Assert.Empty(control.ImageKey); 2064Assert.Empty(control.ImageKey); 2070Assert.Empty(control.ImageKey); 2085Assert.Empty(control.ImageKey); 2092Assert.Empty(control.ImageKey); 2110Assert.Equal(ImageList.Indexer.DefaultKey, control.ImageKey); 2116Assert.Equal(ImageList.Indexer.DefaultKey, control.ImageKey); 2134Assert.Empty(control.ImageKey); 2140Assert.Empty(control.ImageKey); 2163Assert.Empty(control.ImageKey); 2169Assert.Empty(control.ImageKey); 2190Assert.Empty(control.ImageKey); 2199Assert.Empty(control.ImageKey); 2222Assert.Equal(expected, control.ImageKey); 2228Assert.Equal(expected, control.ImageKey); 2243Assert.Equal(ImageList.Indexer.DefaultKey, control.ImageKey); 2260Assert.Equal(expectedImageKey, control.ImageKey); 2266Assert.Equal(expectedImageKey, control.ImageKey); 2282Assert.Equal(expected, control.ImageKey); 2288Assert.Equal(expected, control.ImageKey); 2313Assert.Equal(expected, control.ImageKey); 2319Assert.Equal(expected, control.ImageKey); 2340Assert.Equal(expected, control.ImageKey); 2349Assert.Equal(expected, control.ImageKey);
System\Windows\Forms\ButtonTests.cs (1)
79Assert.Empty(control.ImageKey);
System\Windows\Forms\CheckBoxTests.cs (1)
80Assert.Empty(control.ImageKey);
System\Windows\Forms\RadioButtonTests.cs (1)
79Assert.Empty(control.ImageKey);