16 references to PixelFormat
PresentationFramework-SystemDrawing (2)
SystemDrawingExtension.cs (2)
125Bitmap bitmapFinal = new(imageWidth, imageHeight, PixelFormat.Format32bppRgb); 130PixelFormat.Format32bppRgb);
System.Drawing (1)
System.Drawing.cs (1)
98[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Imaging.PixelFormat))]
System.Windows.Forms (7)
System\Windows\Forms\Components\ImageList\ImageList.cs (4)
573if (bmpData.PixelFormat is not PixelFormat.Format32bppArgb and not PixelFormat.Format32bppRgb) 631result = new Bitmap(_imageSize.Width, _imageSize.Height, PixelFormat.Format32bppArgb); 632targetData = result.LockBits(new Rectangle(0, 0, _imageSize.Width, _imageSize.Height), ImageLockMode.WriteOnly, PixelFormat.Format32bppArgb);
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
942using Bitmap textBmp = new(textSize.Width, textSize.Height, PixelFormat.Format32bppPArgb);
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
489_cachedBitmap = new Bitmap(width, height, PixelFormat.Format32bppArgb);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
295PixelFormat.Format32bppArgb);
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
1013_dragImage = new Bitmap(imageWidth, imageHeight, Drawing.Imaging.PixelFormat.Format32bppPArgb);
System\Windows\Forms\Design\DesignerUtils.cs (4)
120s_boxImage = new Bitmap(s_boxImageSize, s_boxImageSize, PixelFormat.Format32bppPArgb); 392PixelFormat.Format32bppPArgb); 425PixelFormat.Format32bppPArgb); 671BitmapData data = b.LockBits(new Rectangle(0, 0, b.Width, b.Height), ImageLockMode.ReadWrite, PixelFormat.Format32bppArgb);
System\Windows\Forms\Design\ImageListImage.cs (1)
42public PixelFormat PixelFormat => Image.PixelFormat;