WPF Frame accessing parent page controls

Posted by Mitch on Stack Overflow See other posts from Stack Overflow or by Mitch
Published on 2009-04-18T18:07:23Z Indexed on 2010/05/24 13:51 UTC
Read the original article Hit count: 1232

Filed under:
|
|

I have a WPF page that contains a Listbox and a frame. The frame has various pages loaded into it determined by the selection within the Listbox.

Each page within the frame has a variety of different input boxes and has a Save Cancel button. When the Save button is clicked I need the content to be saved to the database and the Listbox in the parent page to be refreshed to reflect the new data.

Saving the data is easy but how do I initiate a refresh on the contents of the Listbox in the parent page when calling it from the page that inside the frame?

I need to somehow be able to access the parent pages controls to do this.

Any ideas?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about parent