20 references to SupportsTransparentBackColor
System.Windows.Forms (19)
System\Windows\Forms\Control.cs (4)
904if (!value.Equals(Color.Empty) && !GetStyle(ControlStyles.SupportsTransparentBackColor) && value.A < 255) 2479private bool IsValidBackColor(Color c) => c.IsEmpty || GetStyle(ControlStyles.SupportsTransparentBackColor) || c.A == 255; 2863=> GetStyle(ControlStyles.SupportsTransparentBackColor) && BackColor.A < 255; 2866=> GetStyle(ControlStyles.SupportsTransparentBackColor) && c.A < 255;
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
67ControlStyles.SupportsTransparentBackColor
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
388SetStyle(ControlStyles.SupportsTransparentBackColor, false);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (2)
34SetStyle(ControlStyles.SupportsTransparentBackColor | ControlStyles.UserPaint | 199SetStyle(ControlStyles.SupportsTransparentBackColor |
System\Windows\Forms\Controls\Labels\Label.cs (2)
69ControlStyles.SupportsTransparentBackColor | 339| ControlStyles.SupportsTransparentBackColor
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (1)
111SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.SupportsTransparentBackColor, true);
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
617SetStyle(ControlStyles.SupportsTransparentBackColor, true);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
130ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint | ControlStyles.SupportsTransparentBackColor,
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (1)
21SetStyle(ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor, true);
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
27SetStyle(ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor, true);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (1)
51SetStyle(ControlStyles.ResizeRedraw | ControlStyles.OptimizedDoubleBuffer | /*ControlStyles.AllPaintingInWmPaint |*/ControlStyles.SupportsTransparentBackColor, true);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
102SetStyle(ControlStyles.SupportsTransparentBackColor, true);
System\Windows\Forms\Panels\Panel.cs (1)
32SetStyle(ControlStyles.SupportsTransparentBackColor, true);
System\Windows\Forms\UserControl.cs (1)
34SetStyle(ControlStyles.SupportsTransparentBackColor, true);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
70SetStyle(SWF.ControlStyles.SupportsTransparentBackColor, true);