Windows Presentation Foundation Using C#

Course Description

This course introduces Windows Presentation Foundation or WPF (“Avalon”), the new .NET technology from Microsoft for building rich Windows applications. It was originally part of .NET 3.0, previously called “WinFX” by Microsoft. WPF includes an XML-based markup language for defining program elements, Extensible Application Markup Language (XAML). WPF applications can be created using only code or a combination of code and XAML pages. This course covers the essentials of WPF, providing an orientation to this technology and a firm foundation for creating applications. The course is current to .NET 3.5 and Visual Studio 2008.
4 days
Contact us for pricing
Contact us for dates
Contact us for dates

Prerequisites

A working knowledge of C# and the .NET Framework

Introduction to WPF

Why WPF?
What Is WPF?
.NET Framework 3.0 (WinFX)
WPF Overview
Application and Window
A Simple WPF Application
Using Visual Studio
Brushes
Panels

XAML

Role of XAML
Elements and Attributes
Namespaces
Property Elements
Type Converters
Content Property
Collections
XAML and Procedural Code

WPF Controls

Button
Label
TextBox
ToolTip
RadioButton
CheckBox
ListBox
ComboBox

Layout

Sizing
Positioning
Transforms
Canvas
Drawing Shapes
StackPanel
WrapPanel
DockPanel
Grid
Scrolling
Scaling

Dialogs

Message Boxes
Win32 Common Dialogs
Custom Modal Dialogs
Custom Modeless Dialogs

Menus and Commands

Menus
Context Menus
Icons on Menu Items
Commands
Keyboard Shortcuts
Disabling Menu Items
Checking Menu Items

Toolbars and Status Bars

Toolbars
Toolbars and Commands
Status Bars

Dependency Properties and Routed Events

Dependency Properties
Change Notification
Property Value Inheritance
Support for Multiple Providers
Routed Events
Routing Strategies

Resources

Resources in WPF
Binary Resources
Logical Resources
Static versus Dynamic Resources

Data Binding

Binding Sources
Sharing Sources with DataContext
Data Templates
Value Converters
Collection Views
Data Providers

Styles, Templates, Skins and Themes

Styles
Style Sharing
Triggers
Validation
Templates
Templated Parent’s Properties
Skins
Themes

C#WPFWindows Presentation FoundationVisual StudioMicrosoft Visual StudioMS Visual Studio