Click here to Skip to main content
12,360,037 members (60,945 online)
Rate this:
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
Sandeep Mewara 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 10-Jan-13 8:24am
Do you want to assign a grid to another grid???

1 solution

Rate this: bad
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>

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.160621.1 | Last Updated 11 Jan 2013
Copyright © CodeProject, 1999-2016
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