BitmapImage Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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
- Ereditarietà
- Attributi
Costruttori
| Nome | Descrizione |
|---|---|
| BitmapImage() | |
| BitmapImage(Uri) | |
Proprietà
| Nome | Descrizione |
|---|---|
| AutoPlay | |
| AutoPlayProperty | |
| CreateOptions | |
| CreateOptionsProperty | |
| DecodePixelHeight | |
| DecodePixelHeightProperty | |
| DecodePixelType | |
| DecodePixelTypeProperty | |
| DecodePixelWidth | |
| DecodePixelWidthProperty | |
| Dispatcher | (Ereditato da DependencyObject) |
| DispatcherQueue | (Ereditato da DependencyObject) |
| IsAnimatedBitmap | |
| IsAnimatedBitmapProperty | |
| IsPlaying | |
| IsPlayingProperty | |
| PixelHeight | (Ereditato da BitmapSource) |
| PixelWidth | (Ereditato da BitmapSource) |
| UriSource | |
| UriSourceProperty | |
Metodi
| Nome | Descrizione |
|---|---|
| ClearValue(DependencyProperty) | (Ereditato da DependencyObject) |
| GetAnimationBaseValue(DependencyProperty) | (Ereditato da DependencyObject) |
| GetValue(DependencyProperty) | (Ereditato da DependencyObject) |
| Play() | |
| ReadLocalValue(DependencyProperty) | (Ereditato da DependencyObject) |
| RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback) | (Ereditato da DependencyObject) |
| SetSource(IRandomAccessStream) | (Ereditato da BitmapSource) |
| SetSourceAsync(IRandomAccessStream) | (Ereditato da BitmapSource) |
| SetValue(DependencyProperty, Object) | (Ereditato da DependencyObject) |
| Stop() | |
| UnregisterPropertyChangedCallback(DependencyProperty, Int64) | (Ereditato da DependencyObject) |
Eventi
| Nome | Descrizione |
|---|---|
| DownloadProgress | |
| ImageFailed | |
| ImageOpened | |