Tab
A newer version of this page is available. Switch to the current version.

ASPxPopupMenu.CloseAction Property

Gets or sets a value that specifies which action forces a displayed popup menu to close.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(PopupMenuCloseAction.OuterMouseClick)]
public PopupMenuCloseAction CloseAction { get; set; }
<DefaultValue(PopupMenuCloseAction.OuterMouseClick)>
Public Property CloseAction As PopupMenuCloseAction

Property Value

Type Default Description
PopupMenuCloseAction

OuterMouseClick

One of the PopupMenuCloseAction enumeration values.

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 control.

Note that the CloseAction property's setting only affects the manner in which the root popup menu is closed (the popup menu control itself). Submenus of a popup menu control are always closed when the mouse cursor moves out of them.

See Also