Win2D for WinUI3 (Work in progress)
Win2D for WinUI3 (Work in progress)
API Reference
Microsoft.Graphics.Canvas.UI.Xaml
CanvasControl Class
CanvasControl Properties
ClearColor Property
CustomDevice Property
Device Property
Dpi Property
DpiScale Property
ForceSoftwareRenderer Property
ReadyToDraw Property
Size Property
UseSharedDevice Property
CanvasControl
Device Property
Gets the underlying device used by this control.
Namespace:
Microsoft.Graphics.Canvas.UI.Xaml
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
Copy
public
CanvasDevice
Device
{
get
; }
Property Value
Type:
CanvasDevice
Implements
ICanvasResourceCreator
Device
See Also
Reference
CanvasControl Class
Microsoft.Graphics.Canvas.UI.Xaml Namespace
Copyright (c) Microsoft Corporation. All rights reserved.