#59 – XAML in Visual Studio 2010

In a typical standalone WPF application, the new project wizard will generate XAML for your main Application object, as well as for any Window-derived objects that you create.  You can see two .xaml files in a simple WPF application in the Solution Explorer.

There is a single .xaml file for each top-level UI type that can be instantiated in XAML.  Each also has an associated C# code-behind file, which will contain the C# implementation code for the same type.

If you double-click on one of the .xaml files, the XAML code for that object will be shown on the XAML tab of the Designer window.

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: