Skip to main content

X11PlatformOptions Properties

Properties

EnableImeDetermines whether to use IME. IME would be enabled by default if the current user input language is one of the following: Mandarin, Japanese, Vietnamese or Korean.
EnableInputFocusProxyDetermines whether to use Input Focus Proxy. The default value is false.
EnableMultiTouchEnables multitouch support. The default value is true.
EnableSessionManagementDetermines whether to enable support for the X Session Management Protocol.
ExterinalGLibMainLoopExceptionLoggerIf Avalonia is in control of a run loop, we propagate exceptions by stopping the run loop frame and rethrowing an exception. However, if there is no Avalonia-controlled run loop frame, there is no way to report such exceptions, since allowing those to escape native->managed call boundary will likely brick GLib machinery since it's not aware of managed Exceptions This property allows to inspect such exceptions before they will be ignored
GlProfiles 
GlxRendererBlacklist 
OverlayPopupsEmbeds popups to the window when set to true. The default value is false.
RenderingModeGets or sets Avalonia rendering modes with fallbacks. The first element in the array has the highest priority. The default value is: Glx, Software.
ShouldRenderOnUIThreadRender directly on the UI thread instead of using a dedicated render thread. This can be usable if your device don't have multiple cores to begin with. This setting is false by default.
UseDBusFilePickerEnables DBus file picker instead of GTK. The default value is true.
UseDBusMenuEnables global menu support on Linux desktop environments where it's supported (e. g. XFCE and MATE with plugin, KDE, etc). The default value is true.
UseGLibMainLoopIf this option is set to true, GMainLoop and GSource based dispatcher implementation will be used instead of epoll-based one. Use this if you need to use GLib-based libraries on the main thread
UseRetainedFramebufferRetain window framebuffer contents if using CPU rendering mode. This will keep an offscreen bitmap for each window with contents of the previous frame While improving performance by saving a blit, it will increase memory consumption if you have many windows
WmClass 

See Also

Reference

X11PlatformOptions Class
Avalonia Namespace