16 references to PixelFormat
PresentationFramework-SystemDrawing (2)
SystemDrawingExtension.cs (2)
125
Bitmap bitmapFinal = new(imageWidth, imageHeight,
PixelFormat
.Format32bppRgb);
130
PixelFormat
.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)
573
if (bmpData.PixelFormat is not
PixelFormat
.Format32bppArgb and not
PixelFormat
.Format32bppRgb)
631
result = new Bitmap(_imageSize.Width, _imageSize.Height,
PixelFormat
.Format32bppArgb);
632
targetData = result.LockBits(new Rectangle(0, 0, _imageSize.Width, _imageSize.Height), ImageLockMode.WriteOnly,
PixelFormat
.Format32bppArgb);
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
942
using 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)
295
PixelFormat
.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)
120
s_boxImage = new Bitmap(s_boxImageSize, s_boxImageSize,
PixelFormat
.Format32bppPArgb);
392
PixelFormat
.Format32bppPArgb);
425
PixelFormat
.Format32bppPArgb);
671
BitmapData data = b.LockBits(new Rectangle(0, 0, b.Width, b.Height), ImageLockMode.ReadWrite,
PixelFormat
.Format32bppArgb);
System\Windows\Forms\Design\ImageListImage.cs (1)
42
public
PixelFormat
PixelFormat => Image.PixelFormat;