Click or drag to resize
Microsoft.Graphics.Canvas.UI.Xaml Namespace
This namespace provides Win2D-enabled XAML controls.
Classes
  ClassDescription
Public classCanvasAnimatedControl
XAML control intended for displaying animating content. Currently unsupported for WinUI3.
Public classCanvasAnimatedDrawEventArgs
Provides data for the Draw event.
Public classCanvasAnimatedUpdateEventArgs
Provides data for the Update event.
Public classCode exampleCanvasControl
XAML control providing immediate mode 2D rendering. Start here if you are new to the Win2D API.
Public classCanvasDrawEventArgs
Provides data for the Draw event.
Public classCode exampleCanvasImageSource
Derives from Windows.UI.Xaml.Media.Imaging.SurfaceImageSource and extends it to know about Canvas types. Most apps should use CanvasControl instead of directly managing their own CanvasImageSource.
Public classCanvasRegionsInvalidatedEventArgs
Provides data for the RegionsInvalidated event.
Public classCode exampleCanvasSwapChainPanel
A swap chain panel is a XAML control which draws to a swap chain.
Public classCanvasVirtualControl
XAML control providing immediate mode 2D rendering to a virtualized surface.
Public classCanvasVirtualImageSource
Provides a virtualized ImageSource that can be used with XAML controls.
Interfaces
  InterfaceDescription
Public interfaceICanvasAnimatedControl
XAML control intended for displaying animating content. Currently unsupported for WinUI3.