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