#60 – XAML in Expression Blend

You can open WPF solutions in either Visual Studio 2010 or Expression Blend 4.  There is some overlap in functionality, but the tools are meant to be used as follows:

  • Visual Studio – Developer – Used for writing code, testing, debugging
  • Blend – Designer – Used for designing user interface and user experience

Because you can open a project in Blend, you can also view and edit XAML for the project’s user interface elements in Blend.

Here’s how a solution looks in Blend:

If you double-click on MainWindow.xaml, a designer will open where you can drag/drop UI elements.  This window has a little icon in the upper right corner that you can click to access the object’s XAML:

This will switch the MainWindow.xaml window from a design surface to a XAML editor and you’ll see the XAML for the MainWindow object.

Advertisements

About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: