|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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 at 6:51 AM
Edited Jan 2 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.
|
|
|
|
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)
|
|
|
|
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!
|
|