Skip to content

Enum MenuCloseBehavior

Definition

Namespace: StardewUI
Assembly: StardewUI.dll

Available behaviors for closing a ViewMenu.

public enum MenuCloseBehavior

Inheritance
ObjectValueTypeEnum ⇦ 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.