Hi,
Does anyone know of a good way to switch between two visual states and have
a pause between them?
if (IsSlideUpVisible) {
VisualStateManager.GoToState(this, "SlideUpHidden", true);
IsSlideUpVisible = false;
}
if (!IsSlideUpVisible) {
VisualStateManager.GoToState(this, "SlideUpVisible", true);
IsSlideUpVisible = true;
loadContent();
}
I want to hide the slideup if it is visible and then show the slideup again
where I then go off and get the data for the page. Problem is that this code
just takes me to the visible state. I tried a Thread.Sleep but that's not so
shiny on the UI thread. Everything stops (to be expected).
Do I have to create a seperate animation of the slide being slid off the
page and then back on?
cheers,
Stephen
-------------------------------------------------------------------
OzSilverlight.com - to unsubscribe from this list, send a message back to the
list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net