p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Windows Presentation Foundation (http://p2p.wrox.com/forumdisplay.php?f=206)
-   -   Add window content into Grid cell (http://p2p.wrox.com/showthread.php?t=72233)

sektor January 14th, 2009 10:17 AM

Add window content into Grid cell
 
I have main window (called MainWindow) which holds Grid consisting of 4 cells. I have a button in first cell (called cmdAddWindow). I have also another window (called AddWindow).

I want that AddWindow window to be in fourth cell (Grid.Row="1", Grid.Column="1" called cellAddWindow) of MainWindow window when I press cmdAddWindow button. As window can be only a top element and can't be nested into other elements, then I can't just add it to children collection of that cellAddWindow cell. How to achieve it?


All times are GMT -4. The time now is 08:18 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.