> Nearby Locations
Des Moines
515-226-3265
 
 
 
My Account  |  View Cart
Search:
 


Class Outline*


| Request Info | Contact Us


Windows Presentation Foundation 4.0 in Visual Studio 2010

Duration:
4 Days

Overview:
Windows Presentation Foundation (WPF) takes the creation of client-side Windows applications to a completely 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 course introduces the basics of working with WPF, starting with a tour of basic controls through data binding.  The course then covers working through more advanced controls and graphic issues, including shapes, geometries, brushes, transforms, and animations, and discusses deploying WPF applications.

Objectives

In this course, students will:

  • Investigate WPF application templates, designer and controls in Visual Studio 2010
  • Work with each of the simple and more complex, WPF controls
  • Use styles and resources to create consistent, visually interesting applications
  • Take advantage of element-to-element binding
  • Extend binding to work with data
  • Investigate more of the built-in controls
  • Learn to create and use shapes and geometries, and the powerful Path element
  • Deploy Silverlight applications
  • Work with Expression Blend 4
  • Add animation techniques
  • Work with the DataGrid control
  • Interoperate with Windows Forms

Audience:

Application Developers

Prerequisites:

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

Topics

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

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

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

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

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

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

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

Working with Data

  • See how to retrieve data from a SQL Server database
  • Create common data bound forms
  • See how to display information from main and related tables

Advanced Data Controls

  • Learn how to use the ListView and GridView controls to display data
  • Explore how to use the DataGrid control to display data
  • See how to use the DataGrid control to edit data

Shapes and Geometries

  • Learn to use basic shapes: lines, ellipses, rectangles, and polygons
  • Add line caps and joins
  • Work with geometries and paths
  • Investigate the geometry mini-language

Brushes and Transforms

  • Work with solid, gradient, and image brushes
  • Add transparency effects, including opacity mask
  • Investigate built-in transforms
  • Add reflection effect using opacity mask and transforms

Deployment

  • Learn how to deploy WPF applications using ClickOnce
  • See how to deploy a markup-only XAML application
  • Learn how to deploy a XAML browser application

Introducing Expression Blend

  • Compare Visual Studio and Expression Blend
  • Examine the Blend integrated development environment
  • Learn about Expression Blend's designer panels
  • Integrate Expression Blend with Visual Studio
  • Create resources and set up element-to-element binding in Expression Blend

Introducing Animation

  • Understand how animation works in XAML applications
  • Examine animation, storyboard, and trigger objects
  • Learn to start animations in code
  • Work with DoubleAnimation, ColorAnimation, and PointAnimation objects
  • Examine properties of the animation classes
  • Try out various easing functions
  • Use Expression Blend to interactively create animations

Working with Data Using WCF Data Services

  • Learn how to create WCF Data Services
  • See how to call WCF Data Services from Silverlight applications
  • Explore how to modify data using WCF Data Services

Windows Forms Interoperability

  • Explore how to build applications that contain both WPF Windows and Windows Forms
  • Explore how WPF Windows can contain Windows Forms Controls and how Windows Forms can contain WPF Controls

*Content, days, and times vary depending on your location. Please view the outline prior to purchase or contact the local center for more information.