I have a WPF application which has some user controls(UserControl) in the main window. Some piece of code bound to the IsVisibilityChanged event. When user control changes its v