ASPxMenuBase.DisappearAfter Property
Gets or sets the duration after which a dynamic menu (a menu item’s submenu or a popup menu) disappears when the mouse pointer is no longer positioned over the menu.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Int32 | 500 | The length of time (in milliseconds) a dynamic menu is displayed after the mouse pointer is no longer positioned over the menu. |
Remarks
When the mouse pointer is no longer positioned over an opened submenu (or over its immediate parent or any child menu item), the submenu automatically disappears after a certain duration. Use the DisappearAfter property to specify the duration. Hiding a submenu uses a predefined animation effect, if the ASPxMenuBase.EnableAnimation property is enabled. Note that a submenu disappears immediately if an end-user clicks outside of the menu.
For the ASPxPopupMenu control, this DisappearAfter property also affects the delay in hiding the root popup menu (the popup menu control itself), if the ASPxPopupMenu.CloseAction property is set to PopupMenuCloseAction.MouseOut.