RadMoveAnimation on Listbox item?

3 posts, 0 answers
  1. Pooja
    Pooja avatar
    5 posts
    Member since:
    Sep 2013

    Posted 22 Aug 2014 Link to this post


    Would like to apply RadMoveAnimation on individual ListBox' item when tapped. Can some one guide me how to do this?

    I am having a ListBox of images in a grid like structure. When any image gets tapped, it should move downwards (out of the screen)  pretending that the user has deleted the image out of the collection.

    Having following layout:
                <ListBox x:Name="lstMain" Grid.Row="1" SelectionChanged="lstMain_SelectionChanged">
                            <toolkit:WrapPanel x:Name="wrapPanelMain" />
                            <Grid Margin="12" x:Name="gridMain"> 
                                <Border BorderBrush="Red" BorderThickness="2">
                                    <Image Source="/SampleProject;component/App.png" Height="62" Width="62"/>
                                <Image Source="/SampleProject;component/Assets/cross.png" Height="62" Width="62"/>

    Would like to move the grid item named as "gridMain" when tapped on it. 

    Please suggest something.


  2. Rosy Topchiyska
    Rosy Topchiyska avatar
    547 posts

    Posted 27 Aug 2014 Link to this post

    Hello Pooja,

    Thank you for contacting us.

    First you will have to get the selected item's container on which you can play the animation; you can see how in this thread:
    Here is an article from our online documentation where you can find information about how to play animations on UI elements: Animation Manager

    I have attached a sample application for demonstration.

    I hope this helps.

    Rosy Topchiyska

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft banner
  4. coni
    coni avatar
    1 posts
    Member since:
    Sep 2014

    Posted 07 Sep 2014 in reply to Rosy Topchiyska Link to this post

    thanks you for Your help, i have same problems.


Back to Top