I have an application which uses WPF + Page Navigation. The application and the flow is working fine and not an issue. But recently, while doing some tests, I found the following behaviour in the code.
I have used NavigationServices.Navigate(new Class());
When I trigger this function the page does gets navigated properly, but it executes certain events even before loading the page completely.
Example:
Under the class constructor and very next line after InitializeComponent(); I have enabled an radioButton and this radioButton has event checked enabled. So based on this the logic is executed first even before the UI is loaded completely in the frame.
My question: How do I stop all the events for time period and make sure the UI is loaded completely and then the events fires-up.