2 types derived from BitmapFrame
PresentationCore (2)
System\Windows\Media\Imaging\BitmapFrameDecode.cs (1)
15internal sealed class BitmapFrameDecode : BitmapFrame
System\Windows\Media\Imaging\BitmapFrameEncode.cs (1)
16internal sealed class BitmapFrameEncode : BitmapFrame
81 references to BitmapFrame
PresentationCore (31)
System\Windows\Media\ImageSourceConverter.cs (3)
94return BitmapFrame.CreateFromUriOrStream( 122return BitmapFrame.Create( 131return BitmapFrame.Create(
System\Windows\Media\ImageSourceValueSerializer.cs (1)
46return BitmapFrame.CreateFromUriOrStream(
System\Windows\Media\Imaging\BitmapDecoder.cs (6)
686public virtual ReadOnlyCollection<BitmapFrame> Frames 700_readOnlyFrames = new ReadOnlyCollection<BitmapFrame>(_frames); 1422internal void SetupFrames(BitmapDecoder decoder, ReadOnlyCollection<BitmapFrame> frames) 1428_frames = new List<BitmapFrame>((int)numFrames); 1624internal List<BitmapFrame> _frames; 1627internal ReadOnlyCollection<BitmapFrame> _readOnlyFrames;
System\Windows\Media\Imaging\BitmapEncoder.cs (4)
282public virtual IList<BitmapFrame> Frames 290_frames = new List<BitmapFrame>(0); 573private void SaveFrame(SafeMILHandle frameEncodeHandle, SafeMILHandle encoderOptions, BitmapFrame frame) 825private IList<BitmapFrame> _frames;
System\Windows\Media\Imaging\BitmapFrame.cs (11)
37internal static BitmapFrame CreateFromUriOrStream( 92public static BitmapFrame Create( 105public static BitmapFrame Create( 129public static BitmapFrame Create( 146public static BitmapFrame Create( 170public static BitmapFrame Create( 193public static BitmapFrame Create( 215public static BitmapFrame Create( 246public static BitmapFrame Create( 271return BitmapFrame.Create(source, thumbnail, metadata, null); 282public static BitmapFrame Create(
System\Windows\Media\Imaging\BitmapImage.cs (1)
371BitmapFrame frame = decoder.Frames[0];
System\Windows\Media\Imaging\BitmapSource.cs (1)
1035BitmapFrame frame,
System\Windows\Media\Imaging\CachedBitmap.cs (1)
198WicSourceHandle = CreateCachedBitmap(_source as BitmapFrame, _source.WicSourceHandle, _createOptions, _cacheOption, _source.Palette);
System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (3)
157public override ReadOnlyCollection<BitmapFrame> Frames 169_frames = new List<BitmapFrame>((int)1); 178_readOnlyFrames = new ReadOnlyCollection<BitmapFrame>(_frames);
PresentationFramework (23)
MS\Internal\AppModel\IconHelper.cs (7)
93var bf = image as BitmapFrame; 112bf = BitmapFrame.Create(GenerateBitmapSource(image, size)); 163private static NativeMethods.IconHandle CreateIconHandleFromBitmapFrame(BitmapFrame sourceBitmapFrame) 394private static int MatchImage(BitmapFrame frame, Size size, int bpp) 433private static BitmapFrame GetBestMatch(ReadOnlyCollection<BitmapFrame> frames, Size size)
System\Windows\Documents\FixedSOMImage.cs (6)
54else if (image.Source is BitmapFrame) 56BitmapFrame imageSource = image.Source as BitmapFrame; 75else if (source is BitmapFrame) 77BitmapFrame imageSource = source as BitmapFrame;
System\Windows\Documents\WpfPayload.cs (1)
465bitmapEncoder.Frames.Add(BitmapFrame.Create(imageSource));
System\Windows\Documents\XamlToRtfWriter.cs (1)
2053System.Windows.Media.Imaging.BitmapSource bitmapSource = (System.Windows.Media.Imaging.BitmapSource)System.Windows.Media.Imaging.BitmapFrame.Create(imageStream);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
124case 31: t = () => typeof(BitmapFrame); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2027typeof(System.Windows.Media.Imaging.BitmapFrame),
System\Windows\Markup\KnownTypes.cs (1)
5578case KnownElements.BitmapFrame: t = typeof(System.Windows.Media.Imaging.BitmapFrame); break;
System\Windows\Standard\Utilities.cs (5)
104public static BitmapFrame GetBestMatch(IList<BitmapFrame> frames, int width, int height) 109private static int _MatchImage(BitmapFrame frame, int bitDepth, int width, int height, int bpp) 133private static BitmapFrame _GetBestMatch(IList<BitmapFrame> frames, int bitDepth, int width, int height)
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
105bitmapEncoder.Frames.Add(BitmapFrame.Create(bitmapSource));
ReachFramework (19)
Serialization\ImageSourceTypeConverter.cs (6)
219BitmapFrame bitmapFrame = bitmapSource as BitmapFrame; 342BitmapFrame bitmapFrame = null; 359bitmapFrame = BitmapFrame.Create(bitmapSource); 441BitmapFrame bitmapFrame = bitmapSource as BitmapFrame;
Serialization\VisualSerializer.cs (2)
619if (formatConvertedBitmap.Source is BitmapFrame) 628else if (colorConvertedBitmap.Source is BitmapFrame)
Serialization\VisualTreeFlattener.cs (5)
67BitmapFrame bmpd = value as BitmapFrame; 127if (value is BitmapFrame) 129encoder.Frames.Add((BitmapFrame)value); 133encoder.Frames.Add(BitmapFrame.Create((BitmapSource)value));
Serialization\XpsImageSerializationService.cs (6)
46if (bitmapSource is BitmapFrame) 52BitmapFrame bitmapImage = bitmapSource as BitmapFrame; 114if (bitmapSource is BitmapFrame) 120BitmapFrame bitmapFrame = bitmapSource as BitmapFrame;
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (6)
59var bf = imageSource as BitmapFrame; 78bf = BitmapFrame.Create(GenerateBitmapSource(imageSource, size)); 86private static BitmapFrame GetBestMatch(ReadOnlyCollection<BitmapFrame> frames, Size size) 189private static int MatchImage(BitmapFrame frame, Size size, int bpp)
WindowsFormsIntegration (1)
System\Windows\Integration\HostUtils.cs (1)
287encoder.Frames.Add(BitmapFrame.Create(bmp));