Skip to main content

RenderingMode Property

Gets or sets Avalonia rendering modes with fallbacks. The first element in the array has the highest priority. The default value is: Glx, Software.

Definition

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

public IReadOnlyList<X11RenderingMode> RenderingMode { get; set; }

Property Value

IReadOnlyList(X11RenderingMode)

Remarks

If application should work on as wide range of devices as possible, at least add Software as a fallback value.

Exceptions

InvalidOperationExceptionThrown if no values were matched.

See Also

Reference

X11PlatformOptions Class
Avalonia Namespace