This question is locked. New answers and comments are not allowed.
Hi,
Im working on a winows phone app, and i have to implement the "delete" functionality using the Swipe Gesture on the item on the list.
I have implemented the Swipe using the "Manipulation" events (ManipulationDelta and ManipulationCompleted), in which i add a RenderTransform (TranslateTransform) to drag the item.
When the user drags the item far enought, i remove it from my model, and the "ItemRemovedAnimation" from the RadDataBoundListBox is fired.
This far, everything Works great.
My problem is:
The control uses UI virtualization, and recycles deleted ítems, so...
when i add a new item to my model, the recylced item is used, and it has a TranslateTransform that makes my new item appear moved to the left, where the user released it to delete.
I need to disable the UI Virtualization, o some how, get the item that has been animated on the ItemAnimationEnded so i can reset the RenderTransform.
Any ideas are appreciated.
Thanks.
Im working on a winows phone app, and i have to implement the "delete" functionality using the Swipe Gesture on the item on the list.
I have implemented the Swipe using the "Manipulation" events (ManipulationDelta and ManipulationCompleted), in which i add a RenderTransform (TranslateTransform) to drag the item.
When the user drags the item far enought, i remove it from my model, and the "ItemRemovedAnimation" from the RadDataBoundListBox is fired.
This far, everything Works great.
My problem is:
The control uses UI virtualization, and recycles deleted ítems, so...
when i add a new item to my model, the recylced item is used, and it has a TranslateTransform that makes my new item appear moved to the left, where the user released it to delete.
I need to disable the UI Virtualization, o some how, get the item that has been animated on the ItemAnimationEnded so i can reset the RenderTransform.
Any ideas are appreciated.
Thanks.