PopupMenuSettings.CloseAction Property
Gets or sets a value that specifies which action forces a displayed popup menu to close.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Property Value
Type | Description |
---|---|
PopupMenuCloseAction | One of the PopupMenuCloseAction enumeration values. |
Available values:
Name | Description |
---|---|
OuterMouseClick | Specifies that a popup menu is closed when clicking a mouse button outside the popup menu. |
MouseOut | Specifies that a popup menu is closed when the mouse cursor moves out of it. |
Remarks
A displayed popup menu may be closed in response to a specific mouse action performed on the client side (such as a mouse click or mouse movement). Use the CloseAction property to specify the precise client action which will hide the popup menu.
Note that the CloseAction property’s setting only affects the manner in which the root popup menu is closed (the popup menu itself). Submenus of a popup menu are always closed when the mouse cursor moves out of them.