Skip to main content
A newer version of this page is available. .

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.v19.1.dll

Declaration

public PopupMenuCloseAction CloseAction { get; set; }

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.

See Also