Windows.UI.Xaml.Media.Imaging Namespace

Provides types related to imaging and obtaining resources and source files for bitmap images.

Equivalent WinUI namespace: Microsoft.UI.Xaml.Media.Imaging.

Classes

BitmapImage

Provides the practical object source type for the Image.Source and ImageBrush.ImageSource properties. You can define a BitmapImage by using a Uniform Resource Identifier (URI) that references an image source file, or by calling SetSourceAsync and supplying a stream.

Equivalent WinUI class: Microsoft.UI.Xaml.Media.Imaging.BitmapImage.

BitmapSource

Provides a source object for properties that use a bitmap-format image source.

Equivalent WinUI class: Microsoft.UI.Xaml.Media.Imaging.BitmapSource.

DownloadProgressEventArgs

Provides event data for the DownloadProgress event.

Equivalent WinUI class: Microsoft.UI.Xaml.Media.Imaging.DownloadProgressEventArgs.

RenderTargetBitmap

Represents an image source that can be populated with the combined contents of a XAML visual tree. See for some notable limitations on which XAML visuals can be captured in a RenderTargetBitmap.

Equivalent WinUI class: Microsoft.UI.Xaml.Media.Imaging.RenderTargetBitmap.

SoftwareBitmapSource

Provides a source object, backed by a SoftwareBitmap, for properties that use a bitmap-format image source.

Equivalent WinUI class: Microsoft.UI.Xaml.Media.Imaging.SoftwareBitmapSource.

SurfaceImageSource

Provides Microsoft DirectX shared surfaces to draw into and then composes the bits into app content.

Equivalent WinUI class: Microsoft.UI.Xaml.Media.Imaging.SurfaceImageSource.

SvgImageSource

Provides a source object for properties that use a Scalable Vector Graphics (SVG) source. You can define a SvgImageSource by using a Uniform Resource Identifier (URI) that references a SVG file, or by calling SetSourceAsync(IRandomAccessStream) and supplying a stream.

Equivalent WinUI class: Microsoft.UI.Xaml.Media.Imaging.SvgImageSource.

SvgImageSourceFailedEventArgs

Provides event data for the SvgImageSource.OpenFailed event.

Equivalent WinUI class: Microsoft.UI.Xaml.Media.Imaging.SvgImageSourceFailedEventArgs.

SvgImageSourceOpenedEventArgs

Provides event data for the SvgImageSource.Opened event.

Equivalent WinUI class: Microsoft.UI.Xaml.Media.Imaging.SvgImageSourceOpenedEventArgs.

VirtualSurfaceImageSource

Extends SurfaceImageSource to support scenarios when the content is potentially larger than what can fit on screen and the content must be virtualized to render optimally.

Equivalent WinUI class: Microsoft.UI.Xaml.Media.Imaging.VirtualSurfaceImageSource.

WriteableBitmap

Provides a BitmapSource that can be written to and updated.

Equivalent WinUI class: Microsoft.UI.Xaml.Media.Imaging.WriteableBitmap.

XamlRenderingBackgroundTask

Provides the ability to create a bitmap from a XAML tree in a background task.

Equivalent WinUI class: Microsoft.UI.Xaml.Media.Imaging.XamlRenderingBackgroundTask.

Enums

BitmapCreateOptions

Specifies initialization options for a bitmap image.

Equivalent WinUI enum: BitmapCreateOptions.

DecodePixelType

Provides values that can be used for decoding operations to optimize for logical versus physical pixels in the source image file.

Equivalent WinUI enum: DecodePixelType.

SvgImageSourceLoadStatus

Defines constants that specify the result of loading an SvgImageSource.

Equivalent WinUI enum: Microsoft.UI.Xaml.Media.Imaging.SvgImageSourceLoadStatus.

Delegates

DownloadProgressEventHandler

Represents the method that will handle the DownloadProgress event.

Equivalent WinUI delegate: Microsoft.UI.Xaml.Media.Imaging.DownloadProgressEventHandler.

See also