ComponentOne Rating for ASP.NET Web Forms
Task-Based Help / Adding Animation to the Rating Control
In This Topic
    Adding Animation to the Rating Control
    In This Topic

    You can fully customize animation effects for the C1Rating icons by using the RatingAnimation properties. This topic will walk you through adding animation effects in Design View and in Source View.

    In Design View

    Complete the following steps:

    1. Select the C1Rating control and in the Properties window,click the Alphabetize button C1Rating to alphabetize the list of properties.
    2. Click the arrow next to the Animation property to open the list of property options.

      C1Rating

    3. Choose one of the Animation effects available and type the name in the "Animated" section. For this Task-Based Help, type "bounce".
    4. Press F5 to run the program. Click on the stars to show the animation effect.

    In Source View

    Add the following markup between the <cc1:C1Rating> tags:

    To write code in Source View

     <Animation Animated="bounce" Easing="Linear" Delay="250" Duration="500" />
    
    See Also