MacOSPlatformOptions Class
Definition
OSX front-end options.
public class MacOSPlatformOptions
Constructors
| Name | Description |
|---|---|
| MacOSPlatformOptions | No summary available. |
MacOSPlatformOptions Constructor
public MacOSPlatformOptions()
Properties
| Name | Description |
|---|---|
| DisableAvaloniaAppDelegate | Gets 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. |
| DisableDefaultApplicationMenuItems | By 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. |
| DisableNativeMenus | Gets or sets a value indicating whether the native macOS menu bar will be enabled for the application. |
| DisableSetProcessName | Gets or sets a value indicating whether the native macOS should set [NSProcessInfo setProcessName] in runtime. |
| ShowInDock | Determines whether to show your application in the dock when it runs. The default value is true. |
DisableAvaloniaAppDelegate Property
Gets 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.
public bool DisableAvaloniaAppDelegate { get; set; }
DisableDefaultApplicationMenuItems Property
By 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.
public bool DisableDefaultApplicationMenuItems { get; set; }
DisableNativeMenus Property
Gets or sets a value indicating whether the native macOS menu bar will be enabled for the application.
public bool DisableNativeMenus { get; set; }
DisableSetProcessName Property
Gets or sets a value indicating whether the native macOS should set [NSProcessInfo setProcessName] in runtime.
public bool DisableSetProcessName { get; set; }
ShowInDock Property
Determines whether to show your application in the dock when it runs. The default value is true.
public bool ShowInDock { get; set; }