This project is read-only.

How to handle parent navigation

Jul 23, 2013 at 2:17 PM
By implenting IContent I can obviously catch when my page is being navigated to/from etc.. but from this child page is there anyway I can handle when the parent page is being navigated from in particular?
Jul 25, 2013 at 9:50 PM
IContent.OnNavigatingFrom is invoked for the current frame and any parent frames. The event args of type NavigatingCancelEventArgs has property IsParentFrameNavigating indicating whether it's this or a parent frame that is doing a navigate.

Other IContent navigation methods operate on the current frame only.