-api-id | -api-type |
---|---|
T:Windows.UI.Xaml.Media.Imaging.BitmapSource |
winrt class |
Provides a source object for properties that use a bitmap-format image source.
Important
You don't typically use or create a BitmapSource type directly, that's why you don't see code examples on this page. It's more common to create a BitmapImage and use that as a value. For code examples and more info, see the reference page for BitmapImage.
ImageSource and BitmapSource are intermediate base classes for BitmapImage. For more info on how to create an image source to use for Image.Source and ImageBrush.ImageSource, see Image and ImageBrush and BitmapImage.
BitmapSource is the parent class for BitmapImage and WriteableBitmap.