ShouldRenderOnUIThread Property
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.
Definition
Namespace: Avalonia
Assembly: Avalonia.Win32 (in Avalonia.Win32.dll)
- C#
- VB
- F#
public bool ShouldRenderOnUIThread { get; set; }
Public Property ShouldRenderOnUIThread As Boolean
Get
Set
member ShouldRenderOnUIThread : bool with get, set