Disabling the Popup Animation

By default, the C1Popup control will run a tilting animation when the IsOpen property changes and the popup opens. You can control this behavior by setting the IsAnimationEnabled property. You can customize this property at design time, in XAML, and in code.

At Design Time

To set the IsAnimationEnabled property in Blend or Visual Studio, complete the following steps:

1.   Click the C1Popup control once to select it.

2.   Navigate to the Properties tab, and unselect the check box next to the IsAnimationEnabled property.

This will set the IsAnimationEnabled property so popup animation is disabled.

In XAML

For example, to set the IsAnimationEnabled property add IsAnimationEnabled="False" to the <c1:C1Popup> tag so that it appears similar to the following:

<c1:C1Popup x:Name="C1Popup1" IsAnimationEnabled="False"></c1:C1Popup>

In Code

For example, to set the IsAnimationEnabled property add the following code to your project:

      Visual Basic

      C#

What You've Accomplished

No animation effect will be now be used when the popup is opened.

 


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.