I want to force my xamCarouselPanel to redo its opening animation when my users restore the window. I tend to think I want BeginAnimation, but haven't a clue what to pass for a dependency object or timeline... Or maybe it's some other call altogether?
Bob Graham
Maybe I posed the question badly. Is there some guidance anywhere on hooking into the built-in animation already in the carouselPanel?
Thanks
Hello,
The xamCarouselPanel does not expose its animation for customization (other than setting Path Effects). However, you can control navigation and, thus, force the carousel to move ro reset to a specific position.
Look up the XamCarouselPanelCommands in the XamCarouselPanel Assembly. There are four commands you can use to tell the Carousel to move.
You can call these commands programmatically:
myCarousel.ExecuteCommand(XamCarouselPanelCommands.NavigateToPreviousPage);