41 writes to ImageKey
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
146set => base.ImageKey = value;
System.Windows.Forms.Tests (39)
System\Windows\Forms\ToolStripControlHostTests.cs (2)
1298ImageKey = value 1306item.ImageKey = value;
System\Windows\Forms\ToolStripItemTests.cs (37)
4433ImageKey = "ImageKey", 4897ImageKey = value 4904item.ImageKey = value; 4918ImageKey = value 4925item.ImageKey = value; 4938ImageKey = value 4945item.ImageKey = value; 4973item.ImageKey = value; 4980item.ImageKey = value; 5024item.ImageKey = value; 5032item.ImageKey = value; 5074item.ImageKey = value; 5084item.ImageKey = value; 5114item.ImageKey = value; 5121item.ImageKey = value; 5154item.ImageKey = value; 5161item.ImageKey = value; 5195item.ImageKey = value; 5205item.ImageKey = value; 5228item.ImageKey = null; 5233item.ImageKey = string.Empty; 5238item.ImageKey = "text"; 5259item.ImageKey = null; 5264item.ImageKey = string.Empty; 5269item.ImageKey = "text"; 5295item.ImageKey = "Image"; 5299item.ImageKey = "NoSuchImage"; 5303item.ImageKey = string.Empty; 5320item.ImageKey = null; 5325item.ImageKey = string.Empty; 5330item.ImageKey = "text"; 5351item.ImageKey = null; 5356item.ImageKey = string.Empty; 5361item.ImageKey = "text"; 5387item.ImageKey = "Image"; 5391item.ImageKey = "NoSuchImage"; 5395item.ImageKey = string.Empty;
System.Windows.Forms.UI.IntegrationTests (1)
ToolStripTests.cs (1)
34ImageKey = "square",
80 references to ImageKey
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
145get => base.ImageKey;
System.Windows.Forms.Tests (79)
System\Windows\Forms\ToolStripButtonTests.cs (6)
62Assert.Empty(item.ImageKey); 143Assert.Empty(item.ImageKey); 230Assert.Empty(item.ImageKey); 320Assert.Empty(item.ImageKey); 408Assert.Empty(item.ImageKey); 506Assert.Empty(item.ImageKey);
System\Windows\Forms\ToolStripControlHostTests.cs (5)
91Assert.Empty(item.ImageKey); 1279Assert.Empty(item.ImageKey); 1286Assert.Empty(item.ImageKey); 1300Assert.Equal(expected, item.ImageKey); 1307Assert.Equal(expected, item.ImageKey);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
62Assert.Empty(item.ImageKey); 151Assert.Empty(item.ImageKey); 250Assert.Empty(item.ImageKey); 358Assert.Empty(item.ImageKey);
System\Windows\Forms\ToolStripItemTests.cs (63)
61Assert.Empty(item.ImageKey); 146Assert.Empty(item.ImageKey); 241Assert.Empty(item.ImageKey); 4390Assert.Empty(item.ImageKey); 4396Assert.Empty(item.ImageKey); 4413Assert.Empty(item.ImageKey); 4414Assert.Empty(item.ImageKey); 4420Assert.Empty(item.ImageKey); 4421Assert.Empty(item.ImageKey); 4437Assert.Empty(item.ImageKey); 4438Assert.Empty(item.ImageKey); 4444Assert.Empty(item.ImageKey); 4445Assert.Empty(item.ImageKey); 4524Assert.Empty(item.ImageKey); 4532Assert.Empty(item.ImageKey); 4899Assert.Equal(expected, item.ImageKey); 4905Assert.Equal(expected, item.ImageKey); 4920Assert.Equal(expected, item.ImageKey); 4926Assert.Equal(expected, item.ImageKey); 4940Assert.Equal(expected, item.ImageKey); 4946Assert.Equal(expected, item.ImageKey); 4974Assert.Equal(expected, item.ImageKey); 4981Assert.Equal(expected, item.ImageKey); 5025Assert.Equal(expected, item.ImageKey); 5033Assert.Equal(expected, item.ImageKey); 5075Assert.Equal(expected, item.ImageKey); 5085Assert.Equal(expected, item.ImageKey); 5115Assert.Equal(expected, item.ImageKey); 5122Assert.Equal(expected, item.ImageKey); 5155Assert.Equal(expected, item.ImageKey); 5162Assert.Equal(expected, item.ImageKey); 5196Assert.Equal(expected, item.ImageKey); 5206Assert.Equal(expected, item.ImageKey); 5223PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)]; 5229Assert.Empty(item.ImageKey); 5234Assert.Empty(item.ImageKey); 5239Assert.Equal("text", item.ImageKey); 5243Assert.Equal("text", item.ImageKey); 5250PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)]; 5260Assert.Empty(item.ImageKey); 5265Assert.Empty(item.ImageKey); 5270Assert.Equal("text", item.ImageKey); 5274Assert.Equal("text", item.ImageKey); 5281PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)]; 5296Assert.Equal("Image", item.ImageKey); 5300Assert.Equal("NoSuchImage", item.ImageKey); 5304Assert.Empty(item.ImageKey); 5308Assert.Empty(item.ImageKey); 5315PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)]; 5321Assert.Empty(item.ImageKey); 5326Assert.Empty(item.ImageKey); 5331Assert.Equal("text", item.ImageKey); 5335Assert.Equal("text", item.ImageKey); 5342PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)]; 5352Assert.Empty(item.ImageKey); 5357Assert.Empty(item.ImageKey); 5362Assert.Equal("text", item.ImageKey); 5366Assert.Equal("text", item.ImageKey); 5373PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStripItem))[nameof(ToolStripItem.ImageKey)]; 5388Assert.Equal("Image", item.ImageKey); 5392Assert.Equal("NoSuchImage", item.ImageKey); 5396Assert.Empty(item.ImageKey); 5400Assert.Empty(item.ImageKey);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
66Assert.Empty(item.ImageKey);