This documentation is archived and is not being maintained.

Creating the Visual Look of Your Program: Introduction to Windows Presentation Foundation

Visual Studio 2008

The user interface is the part of your program that users see when they run the program. The previous set of lessons showed how to create a user interface by using Windows Forms. This set of lessons shows a different way to create a user interface for a Windows-based application: by using Windows Presentation Foundation (WPF).

WPF applications are applications for which WPF controls are used to create the user interface. In these applications, the user interface usually consists of a main window or form and several controls, such as buttons, text boxes for entering text, and so forth. WPF uses a markup language called Extensible Application Markup Language (XAML) to provide new techniques for developing visually enhanced user interfaces.

The lessons in this section show you how to create user interfaces that use some of the most common WPF controls.

Designing a User Interface for a WPF Application (Visual Basic)

Describes how to create a WPF application and add controls to it.

Using Common WPF Controls

Provides an overview of the most common WPF controls.

Creating Event Handlers for WPF Controls

Describes how to associate an event handler with a WPF control, and how to write code that is run when the event handler is raised.

Creating a Drawing Application by Using WPF

Demonstrates how to create a WPF application for sketching drawings.

Visual Basic Guided Tour

A series of sequential lessons that introduce you to the basics of programming in Visual Basic.

Introduction to the Visual Basic Programming Language

Describes the basics of the Visual Basic language.