Click or drag to resize

MenuBarQuitItem Property

Gets or sets the quit item for the application.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public MenuItem QuitItem { get; set; }

Property Value

Type: MenuItem
The quit item on the menu.
Remarks
This allows you to set the quit item for the application. Some platforms (OS X) may add a quit item to the menu even if one is not defined as it is standard practice to allow users to quit the application with a menu item. This will be in the File menu for most platforms, and the Application menu for OS X.
See Also