WPF Training Course

The Graphics Network

Training and Development for Windows and the Web

01285 713297 ♦ info@tgn.co.uk

WPF Programming

This course is for programmers who already have experience in programming for .Net and who wish to exploit Microsoft's newest desktop technology. It is for developers who wish to code in XAML and either C# or Visual Basic using Visual Studio, rather than designers. The course can also be presented over 5 days to include .Net and the C# or Visual Basic language.

The 3 day course costs £1770 in total for up to 6 students, plus VAT and the instructor's reasonable expenses. Each student beyond 6 would cost £20 for the additional course materials. If you are interested in this course, please contact us by email at enquiries@tgn.co.uk or by phone on +44 (0)1285 713297.

Course Outline:

Introduction to WPF

What WPF is for. XAML. WPF and Silverlight. The technologies. The tools. Patterns and Model-View-ViewModel.

Designing a user interface with XAML

What is XAML?. XAML details. Designing a window. Basic controls. Properties and attached properties. Panels and layouts. Code-behind and simple events.

Event handling

The event architecture. Event bubbling and routed events. Tunnelling and preview events. Commands.

Containers and layouts

Panels. Canvas and absolute positioning. Wrap and Stack Panels. Margins, sizes and alignment. DockPanel. Grid and UniformGrid. Splitting and scrolling. Controls as containers.

WPF controls

How WPF controls work. Drawing and presentation. Defining and using styles. Control templates. Triggers and the Visual State Manager. Custom controls. Adapting to themes.

Data binding

Connecting controls. Binding to objects. Binding modes. Syntax alternatives. Using data contexts. Events and updating. Hierarchies and customization. Managing data sources.

Using Windows Forms

Using Windows Forms from WPF. Using WPF from Windows Forms. Compatibility considerations. Integrating existing application code.

Graphics and animation

Shapes and colours. Designing a visually interesting user interface. Creating graphics dynamically. Bitmaps and images. Storyboards and animation.

Introducing the 3rd dimension

Coordinate systems and geometry. The ubiquitous triangle. Cameras and lighting. Models, meshes and materials. Building shapes. Practical examples.