Just started windows phone development.
Need to know how to use beginInit() and endInit() functions

i'm processing an animation, and want the control to show new page
after the animation is over but the control switches before the animation
is completed.

How should i do that ??
Please let me any possible workaround also....

CType(LayoutRoot, System.ComponentModel.ISupportInitialize).BeginInit()
createFadeInAnimation(0.0, 1.0).Begin()
CType(LayoutRoot, System.ComponentModel.ISupportInitialize).EndInit()
NavigationService.Navigate(New Uri("/frmLogin.xaml", UriKind.Relative))


done that myself!!!
please don't bother