The C1ProgressBar control features thirty-one built in animations. In this topic, you will set the animation, the duration of the animation, and the delay of the animation in Design view, in Source view, and in code.
Configuring Animations in Design View
Complete the following steps:
Configuring Animations in Source View
Complete the following steps:
AnimationDelay="500"
to the <cc1:C1ProgressBar> tag so that the markup resembles the following:<cc1:C1ProgressBar ID="C1ProgressBar1" runat="server" AnimationDelay="500"></cc1:C1ProgressBar>
<cc1:C1ProgressBar>
tags:<AnimationOptions Duration="6000" Easing="EaseOutBounce" />
Configuring Animations in Code
Complete the following steps:
Visual Basic
Visual Basic |
Copy Code
|
---|---|
'Set animation properties C1ProgressBar1.AnimationDelay = 500; C1ProgressBar1.AnimationOptions.Duration = 6000; C1ProgressBar1.AnimationOptions.Easing = C1.Web.Wijmo.Controls.Easing.EaseOutBounce; 'Set Value property so that the progress indicator automatically fills at run time C1ProgressBar1.Value = 100 |
C#
C# |
Copy Code
|
---|---|
//Set animation properties C1ProgressBar1.AnimationDelay = 500; C1ProgressBar1.AnimationOptions.Duration = 6000; C1ProgressBar1.AnimationOptions.Easing = C1.Web.Wijmo.Controls.Easing.EaseOutBounce; //Set Value property so that the progress indicator automatically fills at run time C1ProgressBar1.Value = 100; |