Skip to main content

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.

Definition

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

public bool DisableDefaultApplicationMenuItems { get; set; }
View Source

Property Value

Boolean

See Also

Reference

MacOSPlatformOptions Class
Avalonia Namespace