Back to Devexpress

ASPxMenuBase.DisappearAfter Property

aspnet-devexpress-dot-web-dot-aspxmenubase-96426725.md

latest2.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(500)]
public int DisappearAfter { get; set; }
vb
<DefaultValue(500)>
Public Property DisappearAfter As Integer

Property Value

TypeDefaultDescription
Int32500

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.

See Also

AppearAfter

EnableAnimation

CloseAction

ASPxMenuBase Class

ASPxMenuBase Members

DevExpress.Web Namespace