Win32PlatformOptions Properties
Properties
CompositionMode | Gets or sets Avalonia composition modes with fallbacks. The first element in the array has the highest priority. The default value is: WinUIComposition, DirectComposition, RedirectionSurface. |
CustomPlatformGraphics | 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. |
DpiAwareness | Gets or sets the application's DPI awareness. |
GraphicsAdapterSelectionCallback | Specifies a callback method to be called when compositor needs to create a platform graphics device Currently is only called for AngleEgl rendering mode when DirectX 11 is used |
OverlayPopups | Embeds popups to the window when set to true. The default value is false. |
RenderingMode | Gets or sets Avalonia rendering modes with fallbacks. The first element in the array has the highest priority. The default value is: AngleEgl, Software. |
ShouldRenderOnUIThread | Render directly on the UI thread instead of using a dedicated render thread. Only applicable if CompositionMode is set to RedirectionSurface. This setting is only recommended for interop with systems that must render on the UI thread, such as WPF. This setting is false by default. |
WglProfiles | Windows OpenGL profiles used when RenderingMode is set to Wgl. This setting is 4.0 and 3.2 by default. |
WinUICompositionBackdropCornerRadius | When CompositionMode is set to WinUIComposition, create rounded corner blur brushes If set to null the brushes will be created using default settings (sharp corners) This can be useful when you need a rounded-corner blurred Windows 10 app, or borderless Windows 11 app. |