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