2 types derived from BitmapFrame
PresentationCore (2)
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameDecode.cs (1)
38internal sealed class BitmapFrameDecode : BitmapFrame
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameEncode.cs (1)
34internal sealed class BitmapFrameEncode : BitmapFrame
59 references to BitmapFrame
PresentationCore (33)
Core\CSharp\System\Windows\DataObject.cs (2)
2095bitmapEncoder.Frames.Add(BitmapFrame.Create(bitmapSource)); 3496bitmapSource = (BitmapSource)BitmapFrame.Create(bitmapStream);
Core\CSharp\System\Windows\Media\ImageSourceConverter.cs (3)
121return BitmapFrame.CreateFromUriOrStream( 151return BitmapFrame.Create( 162return BitmapFrame.Create(
Core\CSharp\System\Windows\Media\ImageSourceValueSerializer.cs (1)
57return BitmapFrame.CreateFromUriOrStream(
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (6)
787public virtual ReadOnlyCollection<BitmapFrame> Frames 801_readOnlyFrames = new ReadOnlyCollection<BitmapFrame>(_frames); 1729internal void SetupFrames(BitmapDecoder decoder, ReadOnlyCollection<BitmapFrame> frames) 1735_frames = new List<BitmapFrame>((int)numFrames); 1942internal List<BitmapFrame> _frames; 1945internal ReadOnlyCollection<BitmapFrame> _readOnlyFrames;
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (4)
338public virtual IList<BitmapFrame> Frames 346_frames = new List<BitmapFrame>(0); 651private void SaveFrame(SafeMILHandle frameEncodeHandle, SafeMILHandle encoderOptions, BitmapFrame frame) 903private IList<BitmapFrame> _frames;
Core\CSharp\System\Windows\Media\Imaging\BitmapFrame.cs (11)
63internal static BitmapFrame CreateFromUriOrStream( 118public static BitmapFrame Create( 131public static BitmapFrame Create( 158public static BitmapFrame Create( 175public static BitmapFrame Create( 202public static BitmapFrame Create( 228public static BitmapFrame Create( 253public static BitmapFrame Create( 287public static BitmapFrame Create( 315return BitmapFrame.Create(source, thumbnail, metadata, null); 326public static BitmapFrame Create(
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (1)
402BitmapFrame frame = decoder.Frames[0];
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (1)
1182BitmapFrame frame,
Core\CSharp\System\Windows\Media\Imaging\CachedBitmap.cs (1)
303WicSourceHandle = CreateCachedBitmap(_source as BitmapFrame, _source.WicSourceHandle, _createOptions, _cacheOption, _source.Palette);
Core\CSharp\System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (3)
214public override ReadOnlyCollection<BitmapFrame> Frames 226_frames = new List<BitmapFrame>((int)1); 235_readOnlyFrames = new ReadOnlyCollection<BitmapFrame>(_frames);
PresentationFramework (23)
src\Framework\MS\Internal\AppModel\IconHelper.cs (7)
127var bf = image as BitmapFrame; 146bf = BitmapFrame.Create(GenerateBitmapSource(image, size)); 203private static NativeMethods.IconHandle CreateIconHandleFromBitmapFrame(BitmapFrame sourceBitmapFrame) 434private static int MatchImage(BitmapFrame frame, Size size, int bpp) 473private static BitmapFrame GetBestMatch(ReadOnlyCollection<BitmapFrame> frames, Size size)
src\Framework\System\Windows\Documents\FixedSOMImage.cs (6)
62else if (image.Source is BitmapFrame) 64BitmapFrame imageSource = image.Source as BitmapFrame; 83else if (source is BitmapFrame) 85BitmapFrame imageSource = source as BitmapFrame;
src\Framework\System\Windows\Documents\WpfPayload.cs (1)
498bitmapEncoder.Frames.Add(BitmapFrame.Create(imageSource));
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (1)
2056System.Windows.Media.Imaging.BitmapSource bitmapSource = (System.Windows.Media.Imaging.BitmapSource)System.Windows.Media.Imaging.BitmapFrame.Create(imageStream);
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
123case 31: t = () => typeof(BitmapFrame); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
1984typeof(System.Windows.Media.Imaging.BitmapFrame),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5575case KnownElements.BitmapFrame: t = typeof(System.Windows.Media.Imaging.BitmapFrame); break;
src\Framework\System\Windows\Standard\Utilities.cs (5)
117public static BitmapFrame GetBestMatch(IList<BitmapFrame> frames, int width, int height) 122private static int _MatchImage(BitmapFrame frame, int bitDepth, int width, int height, int bpp) 146private static BitmapFrame _GetBestMatch(IList<BitmapFrame> frames, int bitDepth, int width, int height)
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (1)
276bitmapEncode.Frames.Add(BitmapFrame.Create(renderTargetBitmap));
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
1139encoder.Frames.Add(BitmapFrame.Create(this.CreateScreenShot())); 1184BitmapSource source = BitmapFrame.Create(renderBitmap);