I have an issue that I cannot solve myself and need your support. In my WPF-Application I have a MainWindow with some kind of navigation bar (based on System.Windows.Controls.Ribbon) and a content area. When I click one button1 (RibbonButton), I assign a Page to the content area of the MainWindow. In the Page I have a combobox with several values/items and I want the value to be selected that matches to the label or name of the button I pressed in the navigation. When I press the other button in the navigation, another item should be selected in the combobox.
Unfortunately, in my button_click event that is in the code behind of the MainWindow, I am not able to access the combobox of the Page-object.
Can someone help me how to access the combobox of the Page-object within the click event of the MainWindow?
Thank you and regards TPS