87 writes to ImageTransparentColor
Accessibility_Core_App (40)
DataControls.Designer.cs (3)
199
this.toolStripButton1.
ImageTransparentColor
= System.Drawing.Color.Magenta;
213
this.toolStripSplitButton1.
ImageTransparentColor
= System.Drawing.Color.Magenta;
221
this.toolStripDropDownButton1.
ImageTransparentColor
= System.Drawing.Color.Magenta;
Menu_Toolbars_controls.Designer.cs (17)
165
newToolStripMenuItem.
ImageTransparentColor
= Color.Magenta;
174
openToolStripMenuItem.
ImageTransparentColor
= Color.Magenta;
188
saveToolStripMenuItem.
ImageTransparentColor
= Color.Magenta;
208
printToolStripMenuItem.
ImageTransparentColor
= Color.Magenta;
217
printPreviewToolStripMenuItem.
ImageTransparentColor
= Color.Magenta;
263
cutToolStripMenuItem.
ImageTransparentColor
= Color.Magenta;
272
copyToolStripMenuItem.
ImageTransparentColor
= Color.Magenta;
281
pasteToolStripMenuItem.
ImageTransparentColor
= Color.Magenta;
436
toolStripDropDownButton1.
ImageTransparentColor
= Color.Magenta;
462
toolStripSplitButton1.
ImageTransparentColor
= Color.Magenta;
515
newToolStripButton.
ImageTransparentColor
= Color.Magenta;
529
toolStripButton1.
ImageTransparentColor
= Color.Magenta;
539
toolStripButton2.
ImageTransparentColor
= Color.Magenta;
551
toolStripButton3.
ImageTransparentColor
= Color.Magenta;
562
toolStripButton4.
ImageTransparentColor
= Color.Magenta;
574
toolStripButton5.
ImageTransparentColor
= Color.Magenta;
585
toolStripButton6.
ImageTransparentColor
= Color.Magenta;
ToolStripContainer.Designer.cs (20)
154
this.toolStripButton1.
ImageTransparentColor
= System.Drawing.Color.Magenta;
165
this.toolStripSplitButton1.
ImageTransparentColor
= System.Drawing.Color.Magenta;
180
this.newToolStripButton.
ImageTransparentColor
= System.Drawing.Color.Magenta;
189
this.openToolStripButton.
ImageTransparentColor
= System.Drawing.Color.Magenta;
198
this.saveToolStripButton.
ImageTransparentColor
= System.Drawing.Color.Magenta;
207
this.printToolStripButton.
ImageTransparentColor
= System.Drawing.Color.Magenta;
221
this.cutToolStripButton.
ImageTransparentColor
= System.Drawing.Color.Magenta;
230
this.copyToolStripButton.
ImageTransparentColor
= System.Drawing.Color.Magenta;
239
this.pasteToolStripButton.
ImageTransparentColor
= System.Drawing.Color.Magenta;
253
this.helpToolStripButton.
ImageTransparentColor
= System.Drawing.Color.Magenta;
294
this.toolStripDropDownButton1.
ImageTransparentColor
= System.Drawing.Color.Magenta;
309
this.toolStripSplitButton2.
ImageTransparentColor
= System.Drawing.Color.Magenta;
383
this.newToolStripMenuItem.
ImageTransparentColor
= System.Drawing.Color.Magenta;
391
this.openToolStripMenuItem.
ImageTransparentColor
= System.Drawing.Color.Magenta;
404
this.saveToolStripMenuItem.
ImageTransparentColor
= System.Drawing.Color.Magenta;
423
this.printToolStripMenuItem.
ImageTransparentColor
= System.Drawing.Color.Magenta;
431
this.printPreviewToolStripMenuItem.
ImageTransparentColor
= System.Drawing.Color.Magenta;
483
this.cutToolStripMenuItem.
ImageTransparentColor
= System.Drawing.Color.Magenta;
491
this.copyToolStripMenuItem.
ImageTransparentColor
= System.Drawing.Color.Magenta;
499
this.pasteToolStripMenuItem.
ImageTransparentColor
= System.Drawing.Color.Magenta;
DesignSurface (3)
MainForm.Designer.cs (3)
214
this.ToolStripMenuItemCut.
ImageTransparentColor
= System.Drawing.Color.Magenta;
224
this.ToolStripMenuItemCopy.
ImageTransparentColor
= System.Drawing.Color.Magenta;
234
this.ToolStripMenuItemPaste.
ImageTransparentColor
= System.Drawing.Color.Magenta;
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
253
set => base.
ImageTransparentColor
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
3392
private void ResetImageTransparentColor() =>
ImageTransparentColor
= Color.Empty;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
511
menuItem.
ImageTransparentColor
= ImageTransparentColor;
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
155
set => base.
ImageTransparentColor
= value;
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\StandardCommandToolStripMenuItem.cs (1)
90
ImageTransparentColor
= Color.Magenta;
System\Windows\Forms\Design\StandardMenuStripVerb.cs (2)
182
item.
ImageTransparentColor
= Color.Magenta;
349
item.
ImageTransparentColor
= Color.Magenta;
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (3)
76
item.
ImageTransparentColor
= Color.Magenta;
124
ImageTransparentColor
= Color.Magenta
219
_editItemsToolStripMenuItem.
ImageTransparentColor
= Color.Magenta;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1442
_addItemButton.
ImageTransparentColor
= Color.Lime;
System.Windows.Forms.Tests (24)
System\Windows\Forms\ToolStripItemTests.cs (23)
3796
ImageTransparentColor
= imageTransparentColor
3826
ImageTransparentColor
= imageTransparentColor,
3848
ImageTransparentColor
= imageTransparentColor
3869
ImageTransparentColor
= imageTransparentColor,
3901
ImageTransparentColor
= imageTransparentColor,
3946
ImageTransparentColor
= imageTransparentColor,
4004
ImageTransparentColor
= imageTransparentColor,
4039
ImageTransparentColor
= imageTransparentColor,
5617
item.
ImageTransparentColor
= value;
5621
item.
ImageTransparentColor
= value;
5632
ImageTransparentColor
= Color.Red
5635
item.
ImageTransparentColor
= value;
5639
item.
ImageTransparentColor
= value;
5654
item.
ImageTransparentColor
= value;
5659
item.
ImageTransparentColor
= value;
5694
item.
ImageTransparentColor
= value;
5702
item.
ImageTransparentColor
= value;
5721
item.
ImageTransparentColor
= value;
5726
item.
ImageTransparentColor
= value;
5761
item.
ImageTransparentColor
= value;
5769
item.
ImageTransparentColor
= value;
5784
item.
ImageTransparentColor
= Color.Red;
5800
item.
ImageTransparentColor
= Color.Red;
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
291
ImageTransparentColor
= Color.Green,
WinFormsControlsTest (9)
ToolStripTests.Designer.cs (9)
163
this.toolStrip2_Button1.
ImageTransparentColor
= System.Drawing.Color.Magenta;
172
this.toolStrip2_Button2.
ImageTransparentColor
= System.Drawing.Color.Magenta;
180
this.toolStrip2_Button3.
ImageTransparentColor
= System.Drawing.Color.Magenta;
189
this.toolStrip2_Button4.
ImageTransparentColor
= System.Drawing.Color.Magenta;
196
this.toolStrip2_Button5.
ImageTransparentColor
= System.Drawing.Color.Magenta;
288
this.toolStrip2_SplitButton2.
ImageTransparentColor
= System.Drawing.Color.Magenta;
305
this.toolStrip2_DropDownButton2.
ImageTransparentColor
= System.Drawing.Color.Magenta;
349
this.toolStrip2_SplitButton1.
ImageTransparentColor
= System.Drawing.Color.Magenta;
371
this.toolStrip2_DropDownButton1.
ImageTransparentColor
= System.Drawing.Color.Magenta;
40 references to ImageTransparentColor
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
252
get => base.
ImageTransparentColor
;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (3)
1052
if (value is Bitmap bmp &&
ImageTransparentColor
!= Color.Empty)
1056
bmp.MakeTransparent(
ImageTransparentColor
);
3278
private bool ShouldSerializeImageTransparentColor() =>
ImageTransparentColor
!= Color.Empty;
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
511
menuItem.ImageTransparentColor =
ImageTransparentColor
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
154
get => base.
ImageTransparentColor
;
System.Windows.Forms.Tests (34)
System\Windows\Forms\ToolStripButtonTests.cs (6)
64
Assert.Equal(Color.Empty, item.
ImageTransparentColor
);
145
Assert.Equal(Color.Empty, item.
ImageTransparentColor
);
232
Assert.Equal(Color.Empty, item.
ImageTransparentColor
);
322
Assert.Equal(Color.Empty, item.
ImageTransparentColor
);
410
Assert.Equal(Color.Empty, item.
ImageTransparentColor
);
508
Assert.Equal(Color.Empty, item.
ImageTransparentColor
);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
64
Assert.Equal(Color.Empty, item.
ImageTransparentColor
);
153
Assert.Equal(Color.Empty, item.
ImageTransparentColor
);
252
Assert.Equal(Color.Empty, item.
ImageTransparentColor
);
360
Assert.Equal(Color.Empty, item.
ImageTransparentColor
);
System\Windows\Forms\ToolStripItemTests.cs (21)
63
Assert.Equal(Color.Empty, item.
ImageTransparentColor
);
148
Assert.Equal(Color.Empty, item.
ImageTransparentColor
);
243
Assert.Equal(Color.Empty, item.
ImageTransparentColor
);
5618
Assert.Equal(value, item.
ImageTransparentColor
);
5622
Assert.Equal(value, item.
ImageTransparentColor
);
5636
Assert.Equal(value, item.
ImageTransparentColor
);
5640
Assert.Equal(value, item.
ImageTransparentColor
);
5655
Assert.Equal(value, item.
ImageTransparentColor
);
5660
Assert.Equal(value, item.
ImageTransparentColor
);
5695
Assert.Equal(value, item.
ImageTransparentColor
);
5703
Assert.Equal(value, item.
ImageTransparentColor
);
5722
Assert.Equal(value, item.
ImageTransparentColor
);
5727
Assert.Equal(value, item.
ImageTransparentColor
);
5762
Assert.Equal(value, item.
ImageTransparentColor
);
5770
Assert.Equal(value, item.
ImageTransparentColor
);
5780
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStripItem))[nameof(ToolStripItem.
ImageTransparentColor
)];
5785
Assert.Equal(Color.Red, item.
ImageTransparentColor
);
5789
Assert.Equal(Color.Empty, item.
ImageTransparentColor
);
5796
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(ToolStripItem))[nameof(ToolStripItem.
ImageTransparentColor
)];
5801
Assert.Equal(Color.Red, item.
ImageTransparentColor
);
5805
Assert.Equal(Color.Empty, item.
ImageTransparentColor
);
System\Windows\Forms\ToolStripMenuItemTests.cs (3)
68
Assert.Equal(Color.Empty, item.
ImageTransparentColor
);
336
clone.
ImageTransparentColor
.Should().Be(original.
ImageTransparentColor
);