I have a window with a frame.
Said frame can get 2 different pages: Page1 and Page2.
Page1 has combobox1 and a button1.
Page2 has combobox2 and a button2.
Note: combobox1 and combobox2 are populated with same data.
When in Page1, clicking button1 takes us to Page2 (at this pointcombobox1 is not relevant.)
On Page2 we should set a value in combobox2. By clicking button2 we should go to Page1 and get combobox1 updated with the same value as combobox2.
I was able to go back to Page1 with:
NavigationService.GoBack();
But I can't seem to find a way to update my combobox1 in any way.
I tried handlers but I wasn't able to make it work.
Any thoughts?