Tuesday, March 18, 2008

Creating a Frame to host other websites

This is a tutorial to show you how to make a frame in blend. Create a rectangle the size you would like your new frame. Right click the rectangle and view XAML. type the following ABOVE the rectangle tag/code :

*Frame Source="http://www.google.com"/*

JUST REMEMBER: dont use '*' like I did.. use '<' and '>' in their place. I had to use * so the code would show up for you in blogger.

expandable control with window

Do you have a user control in your project that just wont expand with the window(when tested)?

Then here is what you do:

First click on the control in your project and make sure it is set to stretch and also auto. Now if that does not work go open up your user control and check if the user control and layout root are set to stretch and Auto.

that should do it! ;)