RenderingMode Property
Gets or sets Avalonia rendering modes with fallbacks. The first element in the array has the highest priority. The default value is: OpenGl, Software.
Definition
Namespace: Avalonia
Assembly: Avalonia.Native (in Avalonia.Native.dll)
- C#
- VB
- F#
public IReadOnlyList<AvaloniaNativeRenderingMode> RenderingMode { get; set; }
Public Property RenderingMode As IReadOnlyList(Of AvaloniaNativeRenderingMode)
Get
Set
member RenderingMode : IReadOnlyList<AvaloniaNativeRenderingMode> with get, set
Property Value
IReadOnlyList(AvaloniaNativeRenderingMode)
Remarks
If application should work on as wide range of devices as possible, at least add Software as a fallback value.
Exceptions
InvalidOperationException | Thrown if no values were matched. |