Max
Max

Reputation: 199

WPF Parent Window Binding

I need to do something that seems pretty simple, but I cant make it work. I have a textbox in a child window and a button in the parent window. I need to bind the button content on the parent window with the textbox content from the child window. Please! I need a rope! thanks!

Upvotes: 1

Views: 378

Answers (1)

Dean Chalk
Dean Chalk

Reputation: 20461

Use one DataContext object for both, and bind accordingly

Upvotes: 2

Related Questions