Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# WPF
I've designed the main window by divided to 2 grids, first grid named "Grid1" the latter one named "Grid2".
 
How the i load Grid named "GridExternal" from XAML file to Grid2?
Posted 9-Jan-13 21:18pm
Comments
Sandeep Mewara at 10-Jan-13 3:29am
   
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information.
Naz_Firdouse at 10-Jan-13 8:24am
   
Do you want to assign a grid to another grid???

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

---MainWindow.xaml ---
Use <frame source="xxx.xaml">
 

---- xxx.xaml WPF Page, NOT WPF window ---
assign xxx.xaml class name as "xxx"
 

 
The result is xxx.xaml can be loaded to MainWindow.xaml's frame.</frame>
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 478
1 Sergey Alexandrovich Kryukov 280
2 RajeeshMenoth 110
3 PhilLenoir 95
4 Uma Shankar Patel 80
0 Sergey Alexandrovich Kryukov 6,532
1 OriginalGriff 5,976
2 CPallini 2,473
3 Richard MacCutchan 1,687
4 Abhinav S 1,550


Advertise | Privacy | Mobile
Web01 | 2.8.140821.2 | Last Updated 11 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100