Hi All,
I designed one Page loading control from user control, which has some animation of rotation and color changing. I am showing that Loading control (user control) on Main Page while navigating the pages when I clicked the desire menu button the loading control visibility becomes Visible. But when desire page gets loaded, i set the visibility of that loading control is Collapsed which is not happening.
On Click event of Menubutton, I set loading control's Visibility property to visible with below code
ldgwnd.Visibility = Windows.Visibility.Visible
After loading the navigation page. I set the Main Page's loading control's Visibility property to Collapsed with below code but its not working, Still loading control is visible on main page and also navigation page.
TryCast(Application.Current.RootVisual, MainPage).ldgwnd.Visibility = Windows.Visibility.Collapsed
Kindly guide me how the visibility of Loading control is set to false
Thanks and Regards
Anil