KaxComboBoxExpandAnimation Property |
Gets the settings for the animation played when the dropdown opens.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax [PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public AnimationSettings ExpandAnimation { get; }
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
Public ReadOnly Property ExpandAnimation As AnimationSettings
Get
public:
[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
property AnimationSettings^ ExpandAnimation {
AnimationSettings^ get ();
}
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
member ExpandAnimation : AnimationSettings with get
Property Value
Type:
AnimationSettings
An
AnnimationSettings that represents the
expand animation.
Remarks
Use the ExpandAnimation property to customize the expand
animation of KaxComboBox. You can specify the
Type,
Duration and the
To disable expand animation effects you should set the
Type to
AnimationType.None.
To customize the collapse animation you can use the
CollapseAnimation property.
Examples
The following example demonstrates how to set the
ExpandAnimation
of KaxComboBox.
ASPX:
<kettic:KaxComboBox ID="KaxComboBox1" runat="server">
<ExpandAnimation Type="OutQuint" Duration="300"
/>
<Items>
<kettic:KaxComboBoxItem Text="News" >
</kettic:KaxComboBoxItem>
</Items>
</kettic:KaxComboBox>
void Page_Load(object sender, EventArgs e)
{
KaxComboBox1.ExpandAnimation.Type = AnimationType.Linear;
KaxComboBox1.ExpandAnimation.Duration = 300;
}
Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
KaxComboBox1.ExpandAnimation.Type = AnimationType.Linear
KaxComboBox1.ExpandAnimation.Duration = 300
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also