Skip to main content

CustomPlatformGraphics Property

Provides a way to use a custom-implemented graphics context such as a custom ISkiaGpu. When this property set RenderingMode is ignored and CompositionMode only accepts null or RedirectionSurface.

Definition

Namespace: Avalonia
Assembly: Avalonia.Win32 (in Avalonia.Win32.dll)

public IPlatformGraphics? CustomPlatformGraphics { get; set; }

Property Value

IPlatformGraphics

See Also

Reference

Win32PlatformOptions Class
Avalonia Namespace