Sliding an image with fixed header and footer in WP7
Is it possible to implement slide transition on an image on a page where header and开发者_运维知识库 footer on the same page remain fixed while sliding? for example a set of images are to flicked with slide transition and doing this has not effect on the header and footer on the same pages.
I did try searching on net but all I came across was Page transition and not any item or field Transition.
Any help would be great :)
EDIT: I tried some UIElement transition using ITransition interface but sliding gives Fading also with it.I s it possible to remove fading and just show sliding in it?
You need to use element transition something like:
SlideTransition slideTransition = new SlideTransition();
ITransition transition = slideTransition.GetTransition(TargetImage);
transition.Completed += delegate
{
transition.Stop();
};
transition.Begin();
GetTransition(UIElement element) creates a new ITransition for the specified UIElement.
note:Handling of the Completed event is optional and it depends on the specified animation.
精彩评论