I would like to apply a SlideTransition effect to a TextBlock similar to the title of the Calendar app which changes when scrolling down or up through the days (starting from "TODAY").
The following code reported here is a good starting point:
SlideTransition slideTransition = new SlideTransition { Mode = SlideTransitionMode.SlideUpFadeIn };
ITransition transition = slideTransition.GetTransition(ApplicationTitle);
transition.Completed += delegate { transition.Stop(); };
transition.Begin();
但我要在XAML而不是在C#中宣布。
是可能的?
感谢您,
Francesco