Pass parameters through IRegionNavigationJournal.GoBack() #2553
-
I know it might seem counter-productive for a I am building an UI to configure a set of tree structures. The tree roots are listed in the main page, selecting one brings up the root node configuration in view. However the tree itself is not visualized in the UI and each child node , much like the root, represents a new View-ViewModel pair. The currently active node occupies the Content region, while others are not visible. What I am looking for now is a clean way to add new child configuration entries. For example: an Event can have many Competitions. When I add a new competition, Prism brings out a new view, but I have not yet found a good way to add the new instance to the parent. I tried using:
So here I am - if I could pass parameters to the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
There two common approaches to this; the event aggregator, or add the parameters via the OnNavigatedFrom method and capture them in the OnNavigatedTo. |
Beta Was this translation helpful? Give feedback.
There two common approaches to this; the event aggregator, or add the parameters via the OnNavigatedFrom method and capture them in the OnNavigatedTo.