Menu.DisappearAfter Property
.NET Framework 3.0
Gets or sets the duration for which a dynamic menu is displayed after the mouse pointer is no longer positioned over the menu.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
[ThemeableAttribute(false)] public: property int DisappearAfter { int get (); void set (int value); }
/** @property */ public int get_DisappearAfter () /** @property */ public void set_DisappearAfter (int value)
public function get DisappearAfter () : int public function set DisappearAfter (value : int)
Not applicable.
Property Value
The amount of time (in milliseconds) a dynamic menu is displayed after the mouse pointer is no longer positioned over the menu. The default is 500.By default, a dynamic menu automatically disappears after a certain duration when the mouse pointer is no longer positioned over the menu. Use the 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 ThemeableAttribute and Introduction to ASP.NET Themes.
Community Additions
ADD
Show:
Note: