I have a MainWindow, a userControl and a childWindow. The MainWindow has an expander who\'s content is set as an instance of the userControl using the code:
publi