Splitting up/merging windows in WPF

Posted by drasto on Stack Overflow See other posts from Stack Overflow or by drasto
Published on 2010-05-28T10:54:59Z Indexed on 2010/05/28 11:11 UTC
Read the original article Hit count: 414

Filed under:
|
|
|

I'm new to WPF but I need to implement following functionality:

I have a window that contains one Grid (might be changed to stack panel or something else). In that Grid I have 2 columns, each of them contains another Grid. Lets call them gridFirst and gridSecond. There is also GridSplitter in first column allowing to resize the columns.

I want to provide a button that will allow to separate gridFirst from this window and display it "as it is" in another window. How do I do that?

It would be nice if the new window had a same menu as the original window without me having to copy-paste (that not a good coding practise) all its code to the new window.

Thanks for answers

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf