BitmapImage Clase
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
public ref class BitmapImage sealed : BitmapSource
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.Activatable(Microsoft.UI.Xaml.Media.Imaging.IBitmapImageFactory, 65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BitmapImage final : BitmapSource
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.UI.Xaml.Media.Imaging.IBitmapImageFactory), 65536, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BitmapImage : BitmapSource
Public NotInheritable Class BitmapImage
Inherits BitmapSource
- Herencia
- Atributos
Constructores
| Nombre | Description |
|---|---|
| BitmapImage() | |
| BitmapImage(Uri) | |
Propiedades
| Nombre | Description |
|---|---|
| AutoPlay | |
| AutoPlayProperty | |
| CreateOptions | |
| CreateOptionsProperty | |
| DecodePixelHeight | |
| DecodePixelHeightProperty | |
| DecodePixelType | |
| DecodePixelTypeProperty | |
| DecodePixelWidth | |
| DecodePixelWidthProperty | |
| Dispatcher | (Heredado de DependencyObject) |
| DispatcherQueue | (Heredado de DependencyObject) |
| IsAnimatedBitmap | |
| IsAnimatedBitmapProperty | |
| IsPlaying | |
| IsPlayingProperty | |
| PixelHeight | (Heredado de BitmapSource) |
| PixelWidth | (Heredado de BitmapSource) |
| UriSource | |
| UriSourceProperty | |
Métodos
| Nombre | Description |
|---|---|
| ClearValue(DependencyProperty) | (Heredado de DependencyObject) |
| GetAnimationBaseValue(DependencyProperty) | (Heredado de DependencyObject) |
| GetValue(DependencyProperty) | (Heredado de DependencyObject) |
| Play() | |
| ReadLocalValue(DependencyProperty) | (Heredado de DependencyObject) |
| RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback) | (Heredado de DependencyObject) |
| SetSource(IRandomAccessStream) | (Heredado de BitmapSource) |
| SetSourceAsync(IRandomAccessStream) | (Heredado de BitmapSource) |
| SetValue(DependencyProperty, Object) | (Heredado de DependencyObject) |
| Stop() | |
| UnregisterPropertyChangedCallback(DependencyProperty, Int64) | (Heredado de DependencyObject) |
Eventos
| Nombre | Description |
|---|---|
| DownloadProgress | |
| ImageFailed | |
| ImageOpened | |