KaxMenuExpandAnimation Property |
Namespace: Kettic.AspNet.Controls
[PersistenceModeAttribute(PersistenceMode.InnerProperty)] public AnimationSettings ExpandAnimation { get; }
Use the ExpandAnimation property to customize the expand
animation of KaxMenu. You can specify the
Type and
the Duration of the expand animation.
To disable expand animation effects you should set the
Type to
AnimationType.None.
To customize the collapse animation you can use the
CollapseAnimation property.
ASPX:
<kettic:KaxMenu ID="KaxMenu1" runat="server">
<ExpandAnimation Type="OutQuint" Duration="300" />
<Items>
<kettic:KaxMenuItem Text="News" >
<Items>
<kettic:KaxMenuItem Text="CNN" NavigateUrl="http://www.cnn.com" />
<kettic:KaxMenuItem Text="Google News" NavigateUrl="http://news.google.com" />
</Items>
</kettic:KaxMenuItem>
<kettic:KaxMenuItem Text="Sport" >
<Items>
<kettic:KaxMenuItem Text="ESPN" NavigateUrl="http://www.espn.com" />
<kettic:KaxMenuItem Text="Eurosport" NavigateUrl="http://www.eurosport.com" />
</Items>
</kettic:KaxMenuItem>
</Items>
</kettic:KaxMenu>