System.Web.UI.WebControls.Menu.DisappearAfter Property

Gets or sets the duration for which a dynamic menu is displayed after the mouse pointer is no longer positioned over the menu.

Syntax

[System.Web.UI.Themeable(false)]
[System.ComponentModel.DefaultValue(500)]
public int DisappearAfter { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

By default, a dynamic menu automatically disappears after a certain duration when the mouse pointer is no longer positioned over the menu. Use the Menu.DisappearAfter property to specify the duration.

Note:

A dynamic menu disappears immediately if the user clicks outside of the menu.

You can also specify that a dynamic menu should never automatically disappear by setting this property to -1. In this case, the dynamic menu item will disappear only when the user clicks outside the menu.

This property cannot be set by themes or style sheet themes. For more information, see System.Web.UI.ThemeableAttribute and ASP.NET Themes Overview.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0