How To Take This Class

Course Overview

Windows Presentation Foundation (WPF) takes the creation of client-side Windows applications to a whole new level. Developers moving from Windows Forms will find that the flexibility and richness of WPF makes it possible to create applications unlike any they could previously create. This WPF Training course introduces the basics of working with WPF, starting with a tour of the basic controls, through data binding. This course can be delivered in Visual Basic or Visual C# to accommodate a student's language preferences.

Course Prerequisites

This course assumes that students have some programming backgound and experience using Visual Studio 2010. This course assumes knowledge of a CLS language (Visual Basic or C#), of the .NET Framework, and the current (or a prior) version of Visual Studio.

Course Audience

This course is designed for Visual Studio 2010 developers who want to understand and implement the features of the Windows Presentation Foundation libraries.

What You'll Learn

Upon successful completion of this course, students will be able to:
  • Investigate WPF application templates, designer and controls in Visual Studio 2010
  • Examine the WPF layout system
  • Work with each of the simple and more complex, WPF controls
  • Using styles and resources to create consistent, visually interesting applications
  • Learn to navigate between windows
  • Take advantage of element-to-element binding
  • Extend binding to work with data

Course Duration

2 Days

Course Outline

  1. Introduction to WPF
    • Introduce Windows Presentation Foundation (WPF)
    • Compare declarative and procedural coding styles
    • Investigate the WPF designer in Visual Studio 2010
    • Learn about controls and events in WPF
  2. Layout
    • Understand how the layout system works in WPF
    • See how to use various containers to control layout
    • See how to use alignment and sizing to control layout
  3. Simple Controls
    • Investigate Border, Button, CheckBox and RadioButton controls
    • View and enter text using TextBlock, TextBox and PasswordBox controls
    • Work with dates using the DatePicker and Calendar controls
    • Add visual flair using the Slider, ProgressBar and MediaElement controls
  4. Advanced Controls
    • Learn how to use controls that enable users to select an item from a list
    • See how to add menus to applications
    • Explore controls that enable you to better organize content
  5. Styles and Resources
    • Investigate XAML Resources
    • Learn about the hierarchy of resources
    • Work with resources programmatically
    • Organize resources with resource dictionaries
    • Experiment with XAML Styles
    • Apply Styles dynamically
    • Work with Style inheritance
  6. Navigation
    • Explore navigation in WPF applications
    • See how to build page-based applications that support navigation
    • Learn how to navigate using XAML and code
    • See how to build a XAML browser application
  7. Binding
    • Learn to use Binding objects to bind data sources and targets
    • Add data converters to manage conversion during the binding process
    • Use data templates to modify the layout of bound data in lists
  8. Working with Data
    • See hot to retrieve data from a SQL Server database
    • Create common data bound forms
    • See how to display information from main and related tables