KaxComboBoxCollapseAnimation Property |
Gets the settings for the animation played when an item closes.
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 CollapseAnimation { get; }
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
Public ReadOnly Property CollapseAnimation As AnimationSettings
Get
public:
[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
property AnimationSettings^ CollapseAnimation {
AnimationSettings^ get ();
}
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
member CollapseAnimation : AnimationSettings with get
Property Value
Type:
AnimationSettings
An
AnnimationSettings that represents the
collapse animation.
Remarks
Use the CollapseAnimation property to customize the collapse
animation of KaxComboBox. You can specify the
Type,
Duration and the
items are collapsed.
To disable collapse animation effects you should set the
Type to
AnimationType.None. To customize the expand animation you can
use the CollapseAnimation property.
Examples
The following example demonstrates how to set the
CollapseAnimation of KaxComboBox.
ASPX:
<kettic:KaxComboBox ID="KaxComboBox1" runat="server">
<CollapseAnimation Type="OutQuint" Duration="300"
/>
<Items>
<kettic:KaxComboBoxItem Text="News" >
</kettic:KaxComboBoxItem>
</Items>
</kettic:KaxComboBox>
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.
void Page_Load(object sender, EventArgs e)
{
KaxComboBox1.CollapseAnimation.Type = AnimationType.Linear;
KaxComboBox1.CollapseAnimation.Duration = 300;
}
Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
KaxComboBox1.CollapseAnimation.Type = AnimationType.Linear
KaxComboBox1.CollapseAnimation.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