MacOSPlatformOptions Class
OSX front-end options.
Definition
Namespace: Avalonia
Assembly: Avalonia.Native (in Avalonia.Native.dll)
- C#
- VB
- F#
public class MacOSPlatformOptions
Public Class MacOSPlatformOptions
type MacOSPlatformOptions = class end
Inheritance | Object → MacOSPlatformOptions |
Constructors
MacOSPlatformOptions() | Initializes a new instance of the MacOSPlatformOptions class |
Properties
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. |
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) |