16 types derived from BitmapSource
PresentationCore (16)
Core\CSharp\System\Windows\Media\Imaging\BitmapFrame.cs (1)
41
public abstract class BitmapFrame :
BitmapSource
, IUriContext
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (1)
40
public sealed partial class BitmapImage : Imaging.
BitmapSource
, ISupportInitialize, IUriContext
Core\CSharp\System\Windows\Media\Imaging\CachedBitmap.cs (1)
39
public sealed class CachedBitmap : System.Windows.Media.Imaging.
BitmapSource
Core\CSharp\System\Windows\Media\Imaging\ColorConvertedBitmap.cs (1)
37
public sealed partial class ColorConvertedBitmap : Imaging.
BitmapSource
, ISupportInitialize
Core\CSharp\System\Windows\Media\Imaging\CroppedBitmap.cs (1)
37
public sealed partial class CroppedBitmap : Imaging.
BitmapSource
, ISupportInitialize
Core\CSharp\System\Windows\Media\Imaging\FormatConvertedBitmap.cs (1)
38
public sealed partial class FormatConvertedBitmap : Imaging.
BitmapSource
, ISupportInitialize
Core\CSharp\System\Windows\Media\Imaging\Generated\BitmapImage.cs (1)
39
sealed partial class BitmapImage :
BitmapSource
Core\CSharp\System\Windows\Media\Imaging\Generated\ColorConvertedBitmap.cs (1)
39
sealed partial class ColorConvertedBitmap :
BitmapSource
Core\CSharp\System\Windows\Media\Imaging\Generated\CroppedBitmap.cs (1)
39
sealed partial class CroppedBitmap :
BitmapSource
Core\CSharp\System\Windows\Media\Imaging\Generated\FormatConvertedBitmap.cs (1)
39
sealed partial class FormatConvertedBitmap :
BitmapSource
Core\CSharp\System\Windows\Media\Imaging\Generated\TransformedBitmap.cs (1)
39
sealed partial class TransformedBitmap :
BitmapSource
Core\CSharp\System\Windows\Media\Imaging\InteropBitmapSource.cs (1)
39
public sealed class InteropBitmap :
BitmapSource
Core\CSharp\System\Windows\Media\Imaging\RenderTargetBitmap.cs (1)
37
public sealed class RenderTargetBitmap : System.Windows.Media.Imaging.
BitmapSource
Core\CSharp\System\Windows\Media\Imaging\TransformedBitmap.cs (1)
37
public sealed partial class TransformedBitmap : Imaging.
BitmapSource
, ISupportInitialize
Core\CSharp\System\Windows\Media\Imaging\UnmanagedBitmapWrapper.cs (1)
34
internal sealed class UnmanagedBitmapWrapper :
BitmapSource
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (1)
37
public sealed class WriteableBitmap :
BitmapSource
187 references to BitmapSource
PresentationCore (136)
Core\CSharp\System\Windows\Clipboard.cs (3)
230
public static
BitmapSource
GetImage()
232
return GetDataInternal(DataFormats.Bitmap) as
BitmapSource
;
352
public static void SetImage(
BitmapSource
image)
Core\CSharp\System\Windows\DataObject.cs (11)
548
public
BitmapSource
GetImage()
550
return GetData(DataFormats.Bitmap, /*autoConvert*/true) as
BitmapSource
;
647
public void SetImage(
BitmapSource
image)
1828
else if (IsFormatEqual(format, typeof(
BitmapSource
).FullName))
2069
BitmapSource
bitmapSource;
2077
bitmapSource = (
BitmapSource
)data;
2385
if (data is System.Windows.Media.Imaging.
BitmapSource
)
3189
else if (IsFormatEqual(format, typeof(
BitmapSource
).FullName))
3482
private
BitmapSource
ReadBitmapSourceFromHandle(IntPtr handle)
3485
BitmapSource
bitmapSource;
3496
bitmapSource = (
BitmapSource
)BitmapFrame.Create(bitmapStream);
Core\CSharp\System\Windows\Interop\D3DImage.cs (3)
577
protected internal virtual
BitmapSource
CopyBackBuffer()
581
BitmapSource
copy = null;
999
private
BitmapSource
_softwareCopy;
Core\CSharp\System\Windows\Interop\Imaging.cs (4)
41
unsafe public static
BitmapSource
CreateBitmapSourceFromHBitmap(
65
unsafe internal static
BitmapSource
CriticalCreateBitmapSourceFromHBitmap(
94
unsafe public static
BitmapSource
CreateBitmapSourceFromHIcon(
126
unsafe public static
BitmapSource
CreateBitmapSourceFromMemorySection(
Core\CSharp\System\Windows\Media\Effects\BitmapEffect.cs (1)
155
public
BitmapSource
GetOutput(BitmapEffectInput input)
Core\CSharp\System\Windows\Media\Effects\BitmapEffectInput.cs (4)
31
private static
BitmapSource
s_defaultInputSource;
43
public BitmapEffectInput(
BitmapSource
input)
61
public static
BitmapSource
ContextInputSource
67
BitmapSource
source = new UnmanagedBitmapWrapper(true);
Core\CSharp\System\Windows\Media\Effects\Generated\BitmapEffectInput.cs (4)
102
public
BitmapSource
Input
106
return (
BitmapSource
) GetValue(InputProperty);
234
internal static
BitmapSource
s_Input = BitmapEffectInput.ContextInputSource;
265
typeof(
BitmapSource
),
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (6)
641
public virtual
BitmapSource
Thumbnail
682
BitmapSource
.CreateCachedBitmap(
816
public virtual
BitmapSource
Preview
857
BitmapSource
.CreateCachedBitmap(
1930
private
BitmapSource
_thumbnail = null;
1939
private
BitmapSource
_preview = null;
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (5)
183
public virtual
BitmapSource
Thumbnail
250
public virtual
BitmapSource
Preview
693
BitmapSource
thumbnail = frame.Thumbnail;
894
private
BitmapSource
_thumbnail;
897
private
BitmapSource
_preview;
Core\CSharp\System\Windows\Media\Imaging\BitmapFrame.cs (7)
254
BitmapSource
source
288
BitmapSource
source,
289
BitmapSource
thumbnail
327
BitmapSource
source,
328
BitmapSource
thumbnail,
357
public abstract
BitmapSource
Thumbnail { get; }
397
internal
BitmapSource
_thumbnail = null;
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameDecode.cs (3)
146
BitmapSource
source =
BitmapSource
.Create(
209
public override
BitmapSource
Thumbnail
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameEncode.cs (4)
48
BitmapSource
source,
49
BitmapSource
thumbnail,
106
public override
BitmapSource
Thumbnail
296
private
BitmapSource
_source;
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (3)
403
BitmapSource
source = frame;
540
PixelFormat duceFormat =
BitmapSource
.GetClosestDUCEFormat(source.Format, source.Palette);
953
private
BitmapSource
_finalSource;
Core\CSharp\System\Windows\Media\Imaging\BitmapPalette.cs (2)
91
public BitmapPalette(
BitmapSource
bitmapSource, int maxColorCount)
188
static internal BitmapPalette CreateFromBitmapSource(
BitmapSource
source)
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (36)
55
public static
BitmapSource
Create(
94
unsafe public static
BitmapSource
Create(
154
public new
BitmapSource
Clone()
156
return (
BitmapSource
)base.Clone();
163
public new
BitmapSource
CloneCurrentValue()
165
return (
BitmapSource
)base.CloneCurrentValue();
637
typeof(System.Windows.Media.Imaging.
BitmapSource
.IWICBitmapSource)));
1219
destFmt =
BitmapSource
.GetClosestDUCEFormat(originalFmt, palette);
1468
internal void RegisterDownloadEventSource(
BitmapSource
eventSource)
1562
private void CopyCommon(
BitmapSource
sourceBitmap)
1635
BitmapSource
sourceBitmap = (
BitmapSource
)sourceFreezable;
1646
BitmapSource
sourceBitmap = (
BitmapSource
)sourceFreezable;
1657
BitmapSource
sourceBitmap = (
BitmapSource
)sourceFreezable;
1668
BitmapSource
sourceBitmap = (
BitmapSource
)sourceFreezable;
1852
private WeakReference<
BitmapSource
> _bitmapSource;
1854
public ManagedBitmapSource(
BitmapSource
bitmapSource)
1860
_bitmapSource = new WeakReference<
BitmapSource
>(bitmapSource);
1865
BitmapSource
bitmapSource;
1882
BitmapSource
bitmapSource;
1897
BitmapSource
bitmapSource;
1918
BitmapSource
bitmapSource;
1952
BitmapSource
bitmapSource;
2040
public WeakBitmapSourceEventSink(
BitmapSource
bitmapSource)
2047
BitmapSource
bitmapSource = this.Target as
BitmapSource
;
2060
BitmapSource
bitmapSource = this.Target as
BitmapSource
;
2073
BitmapSource
bitmapSource = this.Target as
BitmapSource
;
2084
public void DetachSourceDownloadHandlers(
BitmapSource
source)
2104
private
BitmapSource
_eventSource;
2105
public
BitmapSource
EventSource
Core\CSharp\System\Windows\Media\Imaging\CachedBitmap.cs (2)
47
public CachedBitmap(
BitmapSource
source, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption)
544
BitmapSource
_source;
Core\CSharp\System\Windows\Media\Imaging\ColorConvertedBitmap.cs (4)
53
public ColorConvertedBitmap(
BitmapSource
source, ColorContext sourceColorContext, ColorContext destinationColorContext, PixelFormat format)
166
BitmapSource
newSource = e.NewValue as
BitmapSource
;
305
private
BitmapSource
_source;
Core\CSharp\System\Windows\Media\Imaging\CroppedBitmap.cs (5)
51
public CroppedBitmap(
BitmapSource
source, Int32Rect sourceRect)
119
BitmapSource
source = Source;
179
BitmapSource
newSource = e.NewValue as
BitmapSource
;
245
private
BitmapSource
_source;
Core\CSharp\System\Windows\Media\Imaging\FormatConvertedBitmap.cs (4)
54
public FormatConvertedBitmap(
BitmapSource
source, PixelFormat destinationFormat, BitmapPalette destinationPalette, double alphaThreshold)
194
BitmapSource
newSource = e.NewValue as
BitmapSource
;
353
private
BitmapSource
_source;
Core\CSharp\System\Windows\Media\Imaging\Generated\ColorConvertedBitmap.cs (4)
140
public
BitmapSource
Source
144
return (
BitmapSource
) GetValue(SourceProperty);
358
internal static
BitmapSource
s_Source = null;
390
typeof(
BitmapSource
),
Core\CSharp\System\Windows\Media\Imaging\Generated\CroppedBitmap.cs (4)
122
public
BitmapSource
Source
126
return (
BitmapSource
) GetValue(SourceProperty);
302
internal static
BitmapSource
s_Source = null;
332
typeof(
BitmapSource
),
Core\CSharp\System\Windows\Media\Imaging\Generated\FormatConvertedBitmap.cs (4)
140
public
BitmapSource
Source
144
return (
BitmapSource
) GetValue(SourceProperty);
358
internal static
BitmapSource
s_Source = null;
390
typeof(
BitmapSource
),
Core\CSharp\System\Windows\Media\Imaging\Generated\TransformedBitmap.cs (4)
141
public
BitmapSource
Source
145
return (
BitmapSource
) GetValue(SourceProperty);
321
internal static
BitmapSource
s_Source = null;
355
typeof(
BitmapSource
),
Core\CSharp\System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (2)
158
public override
BitmapSource
Thumbnail
256
public override
BitmapSource
Preview
Core\CSharp\System\Windows\Media\Imaging\RenderTargetBitmap.cs (1)
146
BitmapSourceSafeMILHandle newBitmapHandle =
BitmapSource
.CreateCachedBitmap(
Core\CSharp\System\Windows\Media\Imaging\TransformedBitmap.cs (4)
52
public TransformedBitmap(
BitmapSource
source, Transform newTransform)
299
BitmapSource
newSource = e.NewValue as
BitmapSource
;
384
private
BitmapSource
_source;
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (2)
61
BitmapSource
source
834
BitmapSource
source
PresentationFramework (45)
src\Framework\MS\Internal\AppModel\IconHelper.cs (2)
155
private static
BitmapSource
GenerateBitmapSource(ImageSource img, Size renderSize)
207
BitmapSource
bitmapSource = sourceBitmapFrame;
src\Framework\System\Windows\ColorConvertedBitmapExtension.cs (1)
121
BitmapSource
bitmap = decoder.Frames[0];
src\Framework\System\Windows\Controls\Image.cs (22)
372
private
BitmapSource
_bitmapSource;
443
private void AttachBitmapSourceEvents(
BitmapSource
bitmapSource)
475
BitmapSource
newBitmapSource = newValue as
BitmapSource
;
556
public static void AddHandler(
BitmapSource
source, EventHandler<EventArgs> handler)
567
public static void RemoveHandler(
BitmapSource
source, EventHandler<EventArgs> handler)
596
BitmapSource
typedSource = (
BitmapSource
)source;
605
BitmapSource
typedSource = (
BitmapSource
)source;
682
public static void AddHandler(
BitmapSource
source, EventHandler<ExceptionEventArgs> handler)
693
public static void RemoveHandler(
BitmapSource
source, EventHandler<ExceptionEventArgs> handler)
722
BitmapSource
typedSource = (
BitmapSource
)source;
731
BitmapSource
typedSource = (
BitmapSource
)source;
808
public static void AddHandler(
BitmapSource
source, EventHandler<ExceptionEventArgs> handler)
819
public static void RemoveHandler(
BitmapSource
source, EventHandler<ExceptionEventArgs> handler)
848
BitmapSource
typedSource = (
BitmapSource
)source;
857
BitmapSource
typedSource = (
BitmapSource
)source;
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
293
private
BitmapSource
GetImage()
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (4)
177
if (image != null && image.Source is System.Windows.Media.Imaging.
BitmapSource
)
179
dataObject.SetImage((System.Windows.Media.Imaging.
BitmapSource
)image.Source);
860
System.Windows.Media.Imaging.
BitmapSource
bitmapSource = GetPasteData(dataObjectToApply, DataFormats.Bitmap) as System.Windows.Media.Imaging.
BitmapSource
;
src\Framework\System\Windows\Documents\TextRange.cs (2)
1039
System.Windows.Media.Imaging.
BitmapSource
bitmapSource = (System.Windows.Media.Imaging.
BitmapSource
)image.Source;
src\Framework\System\Windows\Documents\WpfPayload.cs (7)
251
internal static MemoryStream SaveImage(
BitmapSource
bitmapSource, string imageContentType)
433
private
BitmapSource
GetBitmapSourceFromImage(Image image)
435
if (image.Source is
BitmapSource
)
437
return (
BitmapSource
)image.Source;
482
private void CreateImagePart(PackagePart sourcePart,
BitmapSource
imageSource, string imageContentType, int imageIndex)
664
private static bool ImagesAreIdentical(
BitmapSource
imageSource1,
BitmapSource
imageSource2)
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (2)
2056
System.Windows.Media.Imaging.
BitmapSource
bitmapSource = (System.Windows.Media.Imaging.
BitmapSource
)System.Windows.Media.Imaging.BitmapFrame.Create(imageStream);
src\Framework\System\Windows\Interop\HwndHost.cs (1)
952
System.Windows.Media.Imaging.
BitmapSource
bitmapSource = Imaging.CriticalCreateBitmapSourceFromHBitmap(hBitmap.Handle, IntPtr.Zero, Int32Rect.Empty, null, WICBitmapAlphaChannelOption.WICBitmapIgnoreAlpha);
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
127
case 35: t = () => typeof(
BitmapSource
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2031
typeof(System.Windows.Media.Imaging.
BitmapSource
),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5579
case KnownElements.BitmapSource: t = typeof(System.Windows.Media.Imaging.
BitmapSource
); break;
System.Activities.Presentation (6)
System.Activities.Presentation\System\Activities\Presentation\RetriableClipboard.cs (1)
63
internal static void SetImage(
BitmapSource
image)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1050
BitmapSource
screenShot = this.CreateScreenShot();
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
1161
BitmapSource
CreateScreenShot()
1184
BitmapSource
source = BitmapFrame.Create(renderBitmap);
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (2)
208
enabledImageSource =
BitmapSource
.Create(width, height, image.DpiX, image.DpiY, format, null, pixels, stride);
215
disabledImageSource =
BitmapSource
.Create(width, height, image.DpiX, image.DpiY, format, null, pixels, stride);