Skip to main content

MacOSPlatformOptions Properties

Properties

DisableAvaloniaAppDelegateGets or sets a value indicating whether Avalonia can install its own AppDelegate. Disabling this can be useful in some scenarios like when running as a plugin inside an existing macOS application.
DisableDefaultApplicationMenuItemsBy default, Avalonia adds items like Quit, Hide to the OSX Application Menu. You can prevent Avalonia from adding those items to the OSX Application Menu with this property. The default value is false.
DisableNativeMenusGets or sets a value indicating whether the native macOS menu bar will be enabled for the application.
DisableSetProcessNameGets or sets a value indicating whether the native macOS should set [NSProcessInfo setProcessName] in runtime.
ShowInDockDetermines whether to show your application in the dock when it runs. The default value is true.

See Also

Reference

MacOSPlatformOptions Class
Avalonia Namespace