2 types derived from BitmapFrame
PresentationCore (2)
System\Windows\Media\Imaging\BitmapFrameDecode.cs (1)
21internal sealed class BitmapFrameDecode : BitmapFrame
System\Windows\Media\Imaging\BitmapFrameEncode.cs (1)
17internal sealed class BitmapFrameEncode : BitmapFrame
83 references to BitmapFrame
PresentationCore (33)
System\Windows\dataobject.cs (2)
1767bitmapEncoder.Frames.Add(BitmapFrame.Create(bitmapSource)); 3093bitmapSource = (BitmapSource)BitmapFrame.Create(bitmapStream);
System\Windows\Media\ImageSourceConverter.cs (3)
99return BitmapFrame.CreateFromUriOrStream( 129return BitmapFrame.Create( 140return BitmapFrame.Create(
System\Windows\Media\ImageSourceValueSerializer.cs (1)
50return BitmapFrame.CreateFromUriOrStream(
System\Windows\Media\Imaging\BitmapDecoder.cs (6)
692public virtual ReadOnlyCollection<BitmapFrame> Frames 706_readOnlyFrames = new ReadOnlyCollection<BitmapFrame>(_frames); 1433internal void SetupFrames(BitmapDecoder decoder, ReadOnlyCollection<BitmapFrame> frames) 1439_frames = new List<BitmapFrame>((int)numFrames); 1635internal List<BitmapFrame> _frames; 1638internal ReadOnlyCollection<BitmapFrame> _readOnlyFrames;
System\Windows\Media\Imaging\BitmapEncoder.cs (4)
285public virtual IList<BitmapFrame> Frames 293_frames = new List<BitmapFrame>(0); 576private void SaveFrame(SafeMILHandle frameEncodeHandle, SafeMILHandle encoderOptions, BitmapFrame frame) 828private IList<BitmapFrame> _frames;
System\Windows\Media\Imaging\BitmapFrame.cs (11)
38internal static BitmapFrame CreateFromUriOrStream( 93public static BitmapFrame Create( 106public static BitmapFrame Create( 130public static BitmapFrame Create( 147public static BitmapFrame Create( 171public static BitmapFrame Create( 194public static BitmapFrame Create( 216public static BitmapFrame Create( 247public static BitmapFrame Create( 272return BitmapFrame.Create(source, thumbnail, metadata, null); 283public static BitmapFrame Create(
System\Windows\Media\Imaging\BitmapImage.cs (1)
372BitmapFrame frame = decoder.Frames[0];
System\Windows\Media\Imaging\BitmapSource.cs (1)
1066BitmapFrame frame,
System\Windows\Media\Imaging\CachedBitmap.cs (1)
245WicSourceHandle = CreateCachedBitmap(_source as BitmapFrame, _source.WicSourceHandle, _createOptions, _cacheOption, _source.Palette);
System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (3)
162public override ReadOnlyCollection<BitmapFrame> Frames 174_frames = new List<BitmapFrame>((int)1); 183_readOnlyFrames = new ReadOnlyCollection<BitmapFrame>(_frames);
PresentationFramework (23)
MS\Internal\AppModel\IconHelper.cs (7)
94var bf = image as BitmapFrame; 113bf = BitmapFrame.Create(GenerateBitmapSource(image, size)); 164private static NativeMethods.IconHandle CreateIconHandleFromBitmapFrame(BitmapFrame sourceBitmapFrame) 391private static int MatchImage(BitmapFrame frame, Size size, int bpp) 430private static BitmapFrame GetBestMatch(ReadOnlyCollection<BitmapFrame> frames, Size size)
System\Windows\Documents\FixedSOMImage.cs (6)
55else if (image.Source is BitmapFrame) 57BitmapFrame imageSource = image.Source as BitmapFrame; 76else if (source is BitmapFrame) 78BitmapFrame imageSource = source as BitmapFrame;
System\Windows\Documents\WpfPayload.cs (1)
464bitmapEncoder.Frames.Add(BitmapFrame.Create(imageSource));
System\Windows\Documents\XamlToRtfWriter.cs (1)
2054System.Windows.Media.Imaging.BitmapSource bitmapSource = (System.Windows.Media.Imaging.BitmapSource)System.Windows.Media.Imaging.BitmapFrame.Create(imageStream);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
125case 31: t = () => typeof(BitmapFrame); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1986typeof(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)
105public static BitmapFrame GetBestMatch(IList<BitmapFrame> frames, int width, int height) 110private static int _MatchImage(BitmapFrame frame, int bitDepth, int width, int height, int bpp) 134private static BitmapFrame _GetBestMatch(IList<BitmapFrame> frames, int bitDepth, int width, int height)
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
141bitmapEncoder.Frames.Add(BitmapFrame.Create(bitmapSource));
ReachFramework (19)
Serialization\ImageSourceTypeConverter.cs (6)
220BitmapFrame bitmapFrame = bitmapSource as BitmapFrame; 343BitmapFrame bitmapFrame = null; 360bitmapFrame = BitmapFrame.Create(bitmapSource); 442BitmapFrame bitmapFrame = bitmapSource as BitmapFrame;
Serialization\VisualSerializer.cs (2)
620if (formatConvertedBitmap.Source is BitmapFrame) 629else if (colorConvertedBitmap.Source is BitmapFrame)
Serialization\VisualTreeFlattener.cs (5)
68BitmapFrame bmpd = value as BitmapFrame; 128if (value is BitmapFrame) 130encoder.Frames.Add((BitmapFrame)value); 134encoder.Frames.Add(BitmapFrame.Create((BitmapSource)value));
Serialization\XpsImageSerializationService.cs (6)
47if (bitmapSource is BitmapFrame) 53BitmapFrame bitmapImage = bitmapSource as BitmapFrame; 115if (bitmapSource is BitmapFrame) 121BitmapFrame bitmapFrame = bitmapSource as BitmapFrame;
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (6)
60var bf = imageSource as BitmapFrame; 79bf = BitmapFrame.Create(GenerateBitmapSource(imageSource, size)); 87private static BitmapFrame GetBestMatch(ReadOnlyCollection<BitmapFrame> frames, Size size) 190private static int MatchImage(BitmapFrame frame, Size size, int bpp)
WindowsFormsIntegration (1)
System\Windows\Integration\HostUtils.cs (1)
288encoder.Frames.Add(BitmapFrame.Create(bmp));