This is a migrated thread and some comments may be shown as answers.

animation to having itemtemplate children ease in

3 Answers 28 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jonathan
Top achievements
Rank 1
Jonathan asked on 06 Jun 2013, 04:52 PM
I know that DBLB has controls in it to have each item in the listbox animate depending on source update.  However, I was wondering if it was possible to have the children of itemtemplate (such as listboxes and images that make up an item) themselves be animated (easein) when a user swipes to the pivot page the DBLB is on?

For examle, on the Windows Phone Store Market app, if you swipe between certain pivots (not all) then you can see that after you swipe, the listboxitem's controls also easein like they're trying to catch up to the swipe.

I know this sounds very confusing so if you need more information, or even a video, let me know.

-Jon

3 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 07 Jun 2013, 07:57 AM
Hello Jonathan,

Thanks for writing.

No, this doesn't sound confusing. It is a nice feature that we can integrate in RDLB. Currently it is not available but we can consider it for future releases.

Now you can implement similar behavior by implementing a custom control that visualizes the content in the items, put it in the ItemTemplate and trigger its visual states programmatically when pivot items are swapped. You have access to the Realized Containers in RDBLB.

I hope this helps.

Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Jonathan
Top achievements
Rank 1
answered on 07 Jun 2013, 03:27 PM
Thanks Deyan,

when I searched for tutorials, or examples of this I couldn't find any.  Could you give a simple example of how I could do this?

thanks,

Jon
0
Deyan
Telerik team
answered on 10 Jun 2013, 06:09 AM
Hi Jonathan,

Thanks for writing back.

There are numerous articles on the Internet about how custom controls with visual states are made. Here's one that will be helpful:

http://www.timmykokke.com/2010/11/using-visual-states-in-custom-controls-in-silverlight/

Here's another article about visual states:

http://blogs.msdn.com/b/amar/archive/2013/02/27/better-control-s-with-visual-state-manager.aspx

I hope this helps.

Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
DataBoundListBox
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Jonathan
Top achievements
Rank 1
Share this question
or