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