Skip to main content

AvaloniaNativePlatformOptions Class

OSX backend options.

Definition

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

public class AvaloniaNativePlatformOptions
InheritanceObject → AvaloniaNativePlatformOptions

Constructors

AvaloniaNativePlatformOptions()Initializes a new instance of the AvaloniaNativePlatformOptions class

Properties

AppSandboxEnabledIf you distribute your app in App Store - it should be with sandbox enabled. This parameter enables SaveBookmarkAsync() and related APIs, as well as wrapping all storage related calls in secure context. The default value is true.
AvaloniaNativeLibraryPathThis property should be used in case you want to build Avalonia OSX native part by yourself and make your Avalonia app run with it. The default value is null.
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: OpenGl, Software.

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia Namespace