ListBox List Item Turnstile

Feb 10, 2011 at 1:25 PM

Can this be used on a list box to "peel" away leaving the selected item to peel last? I don't quite see how. Do you have an example?

Thanks for your work.

Coordinator
Feb 17, 2011 at 10:57 PM

Hello MatthewMcD,

You can definitely do that. To use on a ListBox, you should change the ListBox template to use the Turnstile. 

To leave the selected item as last, see Alex Sorokoletov's patch at http://turnstile.codeplex.com/SourceControl/list/patches .

Hope it helps,
Roberto

Feb 18, 2011 at 12:47 PM

Roberto,

Thanks, I am lost on how to get started with your control. It looks like exactly what I need, but after adding it to the project...what next? Edit the ListBox Template and add the Turnstile, then do I add a ItemTemplate to the turnstile? I don't see how to use the implementation on the home page to my project.

Sorry, I am new to some of this. (But I'll offer up my sample as a demo to help others get started!)

M

Feb 18, 2011 at 1:53 PM
robertosonnino wrote:

To leave the selected item as last, see Alex Sorokoletov's patch at http://turnstile.codeplex.com/SourceControl/list/patches .


The video looks great. I would love to see how it is coded though. Particularly the SelectTileAction. I am not clear on how this is supposed to help. Can Alex share an example of how to implement his code?

Again, this looks great, just having trouble getting off the blocks.

M

Feb 20, 2011 at 7:45 PM

Matthew, 

here is link to detailed post how to do that and live demo with source code

http://sorokoletov.com/2011/02/wp7-turnstile-and-tilt-effects/ 

Jan 2, 2012 at 6:51 AM
Edited Jan 2, 2012 at 6:52 AM

Alex,

I could not see the sample code @ http://sorokoletov.com/2011/02/wp7-turnstile-and-tilt-effects/ . Can please post one. My selected item is not getting peeled last.

Jan 5, 2012 at 1:54 PM

 

Hi, the post is in English, in the end there are links to source code, dll

and demo.

In order to work with selected item correctly, you have to apply

SelectTileAction (see patch 8404

http://turnstile.codeplex.com/SourceControl/list/patches)

Apr 30, 2012 at 4:14 AM

Hi team, I have merged the patch into the code and also included Alex's demos.

I made it a "fork" in github in case you guys might be interested, I renamed Alex's projects so they have better acknowledgment of the author and made them relate between them. I will be pushing a WP7 demo shortly on how to integrated in an app.

Thanks a lot for the code guys!

Apr 10, 2013 at 2:50 AM
Edited Apr 10, 2013 at 2:50 AM
Can you provide a quick example in XAML on how to utilize this with a listbox + wrap panel? I'm not clear on what you mean in your reply above (to Matt), and I don't see any examples of this. Thanks!