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