I currently trying to use a MVVM xaml approach. I have two views and a modal I am working with. when I load the second view I push a modal on top of it. This works fine the first time. however after I navigate back to the first view and then go back to the second view the modal loads but then I get a System.InvalidOperationException: Operation is not valid due to the current state of the object when I try to remove the modal. When I remove the modal the second view's viewmodel sends a message to seconds views code behind file to pop the modal.
↧