本课程为.NET开发者介绍Windows Presentation Foundation (WPF),涵盖从基础到高级的主题,包括XAML、布局、图形、数据绑定等,并通过实践操作加深理解。
Course description:
Windows Presentation Foundation (WPF) is Microsoft’s next-generation presentation platform. WPF is built into Windows Vista and also runs on Windows XP and Windows Server 2003.
WPF allows rich client applications to take full advantage of the graphical capabilities of a modern PC. Its powerful and flexible programming model integrates support for flexible layout, high-quality text, resolution-independent graphics, animation, video and 3D. While it is designed to exploit the full capabilities of today’s high-performance graphics cards, it offers high-level abstractions that offer great power to the developer for less development effort than ever before. This course will introduce practicing .NET developers to the new programming models and UI features introduced by WPF, with practical hands-on labs to reinforce the concepts.
Who Should Attend
Developers with experience in .NET who are interested in learning how to develop applications using the Windows Presentation Foundation.
Course outline:
Day 1
Introduction to WPF
- Why WPF? (Historical technical context) - WPF, WinFX, .NET, and Windows. What is WPF and how does it relate to Microsoft’s current technology offerings? - XAML, Expression Blend, and Visual Studio 2008 - Customization of UI visuals - Presenting data
Controls and Layout
- Built-in controls, menus - Layout - Pages, frames, windows, and navigation - Eventing and commanding
Graphics
- Resolution independence, transformability - WPF and modern graphics cards - Drawing primitives - Graphics object model - Integration - Imaging and video
Day 2
Data
- Data binding and data contexts - Data templates - Hierarchical binding
- Customization continuum: properties, templates, custom control - ‘Lookless’ controls - ControlTemplate and TemplateBinding - Triggers - The implied contract between a control and its template - ContentControl idiom - List control idiom