Binding Data between WPF Windows RRS feed

  • Question

  • Hi,

    I have a class that contains my data, my main window takes that class and displays it accordingly, now I also have a button in that window that once clicked opens a new window which takes that data and displayes it as a list this time with toggles (ie if toggled it should show/hide the data in the first window)

    So how do i bind this data structure so that a change in either window will  take affect in both windows?  I know this should be simple but cant seem to find a way of doing this right now.

    Currently i pass in the data structure as a parameter to the constructor of the second window but this does not talk back to the source, I know there must be a better way of doing this.

    Thanks in advance.
    Monday, March 31, 2008 6:18 PM