Enum MenuCloseBehavior
Definition
Namespace: StardewUI
Assembly: StardewUI.dll
Available behaviors for closing a ViewMenu.
Inheritance
Object ⇦ ValueType ⇦ Enum ⇦ MenuCloseBehavior
Fields
Name | Value | Description |
---|---|---|
Default | 0 | Use the game's default closing logic. |
Custom | 1 | Block the game's default closing logic, but allow the menu to be closed explicitly via its Close() method. |
Disabled | 2 | Do not allow the menu to be closed by any means. |