I am creating a Windows 8 App, and I need to animate the positions of buttons. The buttons are created dynamically, so XAML is not an option. The buttons' positions are calculated according to the Margin property, which are of Thickness type. I've found that ThicknessAnimation does exist in WPF but not in Windows Store apps. How do I animate a dynamically created button's position? For many reasons, I can't use RenderTransform too as I have too much events and properties depending on the actual position (Margin) of the object. I've found this question Windows 8 store app c# animating margin but unfortunatelly it is closed. I know animations in general (create a storyboard, add animations, add target object and properties, begin the storyboard) but I don't know how to apply it to the Thickness property.
Thanks,
Can.