RadMenu for ASP.NET

RadMenu Send comments on this topic.
CollapseDelay Property
See Also 
Telerik.WebControls Namespace > RadMenu Class : CollapseDelay Property


Gets or sets a value indicating the timeout after which a menu item starts to close.   

 

Namespace: Telerik.WebControls
Assembly: RadMenu (in RadMenu.dll)

Syntax

Visual Basic (Declaration) 
Public Property CollapseDelay As Integer
Visual Basic (Usage)Copy Code
Dim instance As RadMenu
Dim value As Integer
 
instance.CollapseDelay = value
 
value = instance.CollapseDelay
C# 
public int CollapseDelay {get; set;}

Return Value

An integer specifying the timeout measured in milliseconds. The default value is 500 (half a second).

Example

The following example demonstrates how to specify one second (1000 milliseconds) timeout prior to item closing:

ASPX:

<radM:RadMenu ID="RadMenu1" runat="server" ClosingDelay="1000" />

Remarks

Use the CollapseDelay property to delay item closing. To cause immediate item closing set this property to 0 (zero).

To customize the timeout prior to item closing use the ExpandDelay property.

Requirements

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also