WriteableBitmap 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 WriteableBitmap sealed : BitmapSource
/// [Windows.Foundation.Metadata.Activatable(Microsoft.UI.Xaml.Media.Imaging.IWriteableBitmapFactory, 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 WriteableBitmap final : BitmapSource
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.UI.Xaml.Media.Imaging.IWriteableBitmapFactory), 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 WriteableBitmap : BitmapSource
Public NotInheritable Class WriteableBitmap
Inherits BitmapSource
- Ereditarietà
- Attributi
Costruttori
| Nome | Descrizione |
|---|---|
| WriteableBitmap(Int32, Int32) | |
Proprietà
| Nome | Descrizione |
|---|---|
| Dispatcher | (Ereditato da DependencyObject) |
| DispatcherQueue | (Ereditato da DependencyObject) |
| PixelBuffer | |
| PixelHeight | (Ereditato da BitmapSource) |
| PixelWidth | (Ereditato da BitmapSource) |
Metodi
| Nome | Descrizione |
|---|---|
| ClearValue(DependencyProperty) | (Ereditato da DependencyObject) |
| GetAnimationBaseValue(DependencyProperty) | (Ereditato da DependencyObject) |
| GetValue(DependencyProperty) | (Ereditato da DependencyObject) |
| Invalidate() | |
| 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) |
| UnregisterPropertyChangedCallback(DependencyProperty, Int64) | (Ereditato da DependencyObject) |