Skip to main content

MenuSettingsBase.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.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public int DisappearAfter { get; set; }

Property Value

Type Description
Int32

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 MenuSettingsBase.EnableAnimation property is enabled. Note that a submenu disappears immediately if an end-user clicks outside of the menu.

For the PopupMenu, the DisappearAfter property also affects the delay in hiding the root popup menu (the popup menu control itself), if the PopupMenuSettings.CloseAction property is set to PopupMenuCloseAction.MouseOut.

See Also