15 references to BitsPerPixel
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
NavigateTo\AbstractNavigateToTests.cs (1)
217var stride = PixelFormats.Bgr32.BitsPerPixel / 8 * 16;
PresentationCore (3)
System\Windows\Media\Imaging\BitmapSource.cs (2)
727int minStride = checked(((sourceRect.Width * Format.BitsPerPixel) + 7) / 8); 804int bufferSize = (format.BitsPerPixel + 7) / 8;
System\Windows\Media\Imaging\FormatConvertedBitmap.cs (1)
187else if ((1 << DestinationFormat.BitsPerPixel) < DestinationPalette.Colors.Count)
PresentationFramework (8)
MS\Internal\AppModel\IconHelper.cs (3)
178int bpp = bitmapSource.Format.BitsPerPixel; 455int currentIconBitDepth = isBitmapIconDecoder ? frames[i].Thumbnail.Format.BitsPerPixel : frames[i].Format.BitsPerPixel;
System\Windows\Documents\WpfPayload.cs (3)
634if (imageSource1.Format.BitsPerPixel != imageSource2.Format.BitsPerPixel || 644int stride = ((imageSource1.PixelWidth * imageSource1.Format.BitsPerPixel) + 7) / 8;
System\Windows\Standard\Utilities.cs (2)
144int currentIconBitDepth = isBitmapIconDecoder ? frames[i].Thumbnail.Format.BitsPerPixel : frames[i].Format.BitsPerPixel;
ReachFramework (1)
Serialization\ImageSourceTypeConverter.cs (1)
388int stride = (width * bitmapSource.Format.BitsPerPixel + 7) / 8;
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (2)
112int currentIconBitDepth = isBitmapIconDecoder ? frames[i].Thumbnail.Format.BitsPerPixel : frames[i].Format.BitsPerPixel;