Wednesday, November 10, 2010

A simple WPF application building walkthrough/Lab within Visual Studio, just a vsix away

Windows Presentation Foundation User Education > A WPF Lab right in Visual Studio!

“I recently learned about Ron Jacob's Hand on Lab for Windows Workflow Foundation 4 and I liked it so much that I decided to create one for WPF. Check out the WPF Simple Application Walkthough on Visual Studio Gallery! I adapted an existing topic on MSDN to integrate directly with Visual Studio. The lab demonstrates creating a WPF application and doing some simple data binding. Those of you who are familiar with WPF won't learn anything new, but I'm hoping you will check it out anyway, to let us know if you like this method of learning.

A few things to keep in mind: You need Visual Studio Pro, Premium, or Ultimate to install the lab. The lab is presently in C# only. …”

Visual Studio Gallery - WPF Simple Application Walkthrough

“This walkthrough shows how to build a simple Windows Presentation Foundation (WPF) application with the WPF Designer.

In this walkthrough, you will perform the following tasks:

  • Prepare the window for controls.
  • Add controls to the form.
  • Create the data source.
  • Connect to the data source.
  • Bind the TreeView to the data source.
  • Bind the ListView controls to the data source.

When you are finished, you will have a simple application which lets you browse the “My Documents” file system.

Getting Started

  1. Download the WPFSimpleAppLab.vsix file.
  2. Open the WPFSimpleAppLab.vsix file to install it (Restart Visual Studio if it is running during install)
  3. Start Visual Studio
  4. Select File / New Project / WPF Labs / WPF Application Walkthrough

WPF Simple Application Walkthrough…”

I like how this is all done right in Visual Studio. I always hate alt-tabbing between a walkthrough instructions and VS…What I also liked was how the links in the guidance actually work, they actually control the IDE, putting you in the right window/view/mode/etc.

Here’s some snaps;

image

image

image

1 comment:

Daniel Lidström said...

Thanks! I'm late to the game trying to learn WPF, so this is very helpful.