KaxToolBarExpandAnimation Property |
Namespace: Kettic.AspNet.Controls
[PersistenceModeAttribute(PersistenceMode.InnerProperty)] public AnimationSettings ExpandAnimation { get; }
Use the ExpandAnimation property to customize the expand
animation of the KaxToolBar dropdown items -
KaxToolBarDropDown and
KaxToolBarSplitButton. 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:KaxToolBar ID="KaxToolBar1" runat="server">
<ExpandAnimation Type="OutQuint" Duration="300" />
<Items>
<kettic:KaxToolBarDropDown Text="Insert Html Element" >
<Buttons>
<kettic:KaxToolBarButton Text="Image" />
<kettic:KaxToolBarButton Text="Editable Div element" />
</Buttons>
</kettic:KaxToolBarDropDown>
<kettic:KaxToolBarSplitButton Text="Insert Form Element" >
<Buttons>
<kettic:KaxToolBarButton Text="Button" />
<kettic:KaxToolBarButton Text="TextBox" />
<kettic:KaxToolBarButton Text="TextArea" />
<kettic:KaxToolBarButton Text="CheckBox" />
<kettic:KaxToolBarButton Text="RadioButton" />
</Buttons>
</kettic:KaxToolBarSplitButton>
</Items>
</kettic:KaxToolBar>