2 types derived from BitmapFrame
PresentationCore (2)
System\Windows\Media\Imaging\BitmapFrameDecode.cs (1)
36internal sealed class BitmapFrameDecode : BitmapFrame
System\Windows\Media\Imaging\BitmapFrameEncode.cs (1)
32internal sealed class BitmapFrameEncode : BitmapFrame
83 references to BitmapFrame
PresentationCore (33)
System\Windows\dataobject.cs (2)
1782bitmapEncoder.Frames.Add(BitmapFrame.Create(bitmapSource)); 3122bitmapSource = (BitmapSource)BitmapFrame.Create(bitmapStream);
System\Windows\Media\ImageSourceConverter.cs (3)
112return BitmapFrame.CreateFromUriOrStream( 142return BitmapFrame.Create( 153return BitmapFrame.Create(
System\Windows\Media\ImageSourceValueSerializer.cs (1)
55return BitmapFrame.CreateFromUriOrStream(
System\Windows\Media\Imaging\BitmapDecoder.cs (6)
710public virtual ReadOnlyCollection<BitmapFrame> Frames 724_readOnlyFrames = new ReadOnlyCollection<BitmapFrame>(_frames); 1451internal void SetupFrames(BitmapDecoder decoder, ReadOnlyCollection<BitmapFrame> frames) 1457_frames = new List<BitmapFrame>((int)numFrames); 1653internal List<BitmapFrame> _frames; 1656internal ReadOnlyCollection<BitmapFrame> _readOnlyFrames;
System\Windows\Media\Imaging\BitmapEncoder.cs (4)
301public virtual IList<BitmapFrame> Frames 309_frames = new List<BitmapFrame>(0); 592private void SaveFrame(SafeMILHandle frameEncodeHandle, SafeMILHandle encoderOptions, BitmapFrame frame) 844private IList<BitmapFrame> _frames;
System\Windows\Media\Imaging\BitmapFrame.cs (11)
59internal static BitmapFrame CreateFromUriOrStream( 114public static BitmapFrame Create( 127public static BitmapFrame Create( 151public static BitmapFrame Create( 168public static BitmapFrame Create( 192public static BitmapFrame Create( 215public static BitmapFrame Create( 237public static BitmapFrame Create( 268public static BitmapFrame Create( 293return BitmapFrame.Create(source, thumbnail, metadata, null); 304public static BitmapFrame Create(
System\Windows\Media\Imaging\BitmapImage.cs (1)
390BitmapFrame frame = decoder.Frames[0];
System\Windows\Media\Imaging\BitmapSource.cs (1)
1081BitmapFrame frame,
System\Windows\Media\Imaging\CachedBitmap.cs (1)
266WicSourceHandle = CreateCachedBitmap(_source as BitmapFrame, _source.WicSourceHandle, _createOptions, _cacheOption, _source.Palette);
System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (3)
182public override ReadOnlyCollection<BitmapFrame> Frames 194_frames = new List<BitmapFrame>((int)1); 203_readOnlyFrames = new ReadOnlyCollection<BitmapFrame>(_frames);
PresentationFramework (23)
MS\Internal\AppModel\IconHelper.cs (7)
102var bf = image as BitmapFrame; 121bf = BitmapFrame.Create(GenerateBitmapSource(image, size)); 172private static NativeMethods.IconHandle CreateIconHandleFromBitmapFrame(BitmapFrame sourceBitmapFrame) 399private static int MatchImage(BitmapFrame frame, Size size, int bpp) 438private static BitmapFrame GetBestMatch(ReadOnlyCollection<BitmapFrame> frames, Size size)
System\Windows\Documents\FixedSOMImage.cs (6)
57else if (image.Source is BitmapFrame) 59BitmapFrame imageSource = image.Source as BitmapFrame; 78else if (source is BitmapFrame) 80BitmapFrame imageSource = source as BitmapFrame;
System\Windows\Documents\WpfPayload.cs (1)
470bitmapEncoder.Frames.Add(BitmapFrame.Create(imageSource));
System\Windows\Documents\XamlToRtfWriter.cs (1)
2055System.Windows.Media.Imaging.BitmapSource bitmapSource = (System.Windows.Media.Imaging.BitmapSource)System.Windows.Media.Imaging.BitmapFrame.Create(imageStream);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
127case 31: t = () => typeof(BitmapFrame); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1988typeof(System.Windows.Media.Imaging.BitmapFrame),
System\Windows\Markup\KnownTypes.cs (1)
5585case KnownElements.BitmapFrame: t = typeof(System.Windows.Media.Imaging.BitmapFrame); break;
System\Windows\Standard\Utilities.cs (5)
114public static BitmapFrame GetBestMatch(IList<BitmapFrame> frames, int width, int height) 119private static int _MatchImage(BitmapFrame frame, int bitDepth, int width, int height, int bpp) 143private static BitmapFrame _GetBestMatch(IList<BitmapFrame> frames, int bitDepth, int width, int height)
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
144bitmapEncoder.Frames.Add(BitmapFrame.Create(bitmapSource));
ReachFramework (19)
Serialization\ImageSourceTypeConverter.cs (6)
228BitmapFrame bitmapFrame = bitmapSource as BitmapFrame; 351BitmapFrame bitmapFrame = null; 368bitmapFrame = BitmapFrame.Create(bitmapSource); 450BitmapFrame bitmapFrame = bitmapSource as BitmapFrame;
Serialization\VisualSerializer.cs (2)
628if (formatConvertedBitmap.Source is BitmapFrame) 637else if (colorConvertedBitmap.Source is BitmapFrame)
Serialization\VisualTreeFlattener.cs (5)
75BitmapFrame bmpd = value as BitmapFrame; 135if (value is BitmapFrame) 137encoder.Frames.Add((BitmapFrame)value); 141encoder.Frames.Add(BitmapFrame.Create((BitmapSource)value));
Serialization\XpsImageSerializationService.cs (6)
50if (bitmapSource is BitmapFrame) 56BitmapFrame bitmapImage = bitmapSource as BitmapFrame; 118if (bitmapSource is BitmapFrame) 124BitmapFrame bitmapFrame = bitmapSource as BitmapFrame;
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (6)
62var bf = imageSource as BitmapFrame; 81bf = BitmapFrame.Create(GenerateBitmapSource(imageSource, size)); 89private static BitmapFrame GetBestMatch(ReadOnlyCollection<BitmapFrame> frames, Size size) 192private static int MatchImage(BitmapFrame frame, Size size, int bpp)
WindowsFormsIntegration (1)
System\Windows\Integration\HostUtils.cs (1)
292encoder.Frames.Add(BitmapFrame.Create(bmp));