2 writes to Image
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripItemImageRenderEventArgs.cs (2)
14
Image
= (item.RightToLeftAutoMirrorImage && item.RightToLeft == RightToLeft.Yes) ? item.MirroredImage : item.Image;
28
Image
= image;
10 references to Image
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (3)
107
if (e.
Image
is not { } image)
387
if (e.
Image
is not { } image)
485
if (e.
Image
is not { } image)
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
744
Image? image = e.
Image
;
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (2)
779
Image? image = e.
Image
;
822
Image? image = e.
Image
;
System.Windows.Forms.Tests (4)
System\Windows\Forms\ToolStripItemImageRenderEventArgsTests.cs (4)
68
Assert.Same(expectedImage, e.
Image
);
86
Assert.NotSame(image, e.
Image
);
87
Assert.Equal(image.Size, e.
Image
.Size);
106
Assert.Equal(image, e.
Image
);