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