Gets the Effect object that controls the effect to collapse a submenu.
[Visual Basic]
Public Property CollapseEffect As
Effect
[C#]
public
Effect CollapseEffect {get; set;}
Property Value
Effect
The Effect object that controls the way to collapse a submenu.
This property is read only, however, you can access the properties and method of the object it returns.
Remarks
Use this property to control the way a submenu collapses. EO.Web Menu supports 60+ collapse effects.
When this property is specified, EO.Web Menu renders "reverse effect" of the specified effect.
For example, GlideTopToBottom effect glides a submenu from top to bottom.
- Setting it to ExpandEffect property glides the submenu from top to bottom;
- Setting it to CollapseEffect property glides the submenu from bottom to top.
Therefore, you pick the same effect for both ExpandEffect and CollapseEffect properties, the actual effects will automatically match.
By default, CollapseEffect.Type is set to EffectType.NotSet, in which case the submenu will try to get the value from the parent item's look item.
See Also
MenuGroup Class | EO.Web Namespace