Windows Presentation Foundation

Windows Presentation Foundation (WPF) is Microsofts recommended API for creating compelling and dynamic user interfaces based on XAML. This course provides comprehensive coverage of WPF in .NET 4.5, explaining how it differs from traditional Windows Forms development. The course also takes a detailed look at the Model-View-ViewModel design pattern and Prism.

Audience:

Developers who want to create XAML user interfaces on the .NET 4.5 platform.

Prerequisites:

Solid C# experience

Course outline:

  • Getting Started with WPF: Overview of WPF concepts and features; Creating a simple WPF application

  • Event Handling: Overview of events; Bubbling events; Tunnelling events; Commands

  • Creating a User Interface: Page layouts; Content controls; Range-based controls; Items controls; Accessing the visual tree; Using the Ribbon control in WPF 4.5

  • Managing Windows: Window essentials; Creating modal and modeless dialogs; Pages and navigation

  • Resources, Styles, and Triggers: Logical resources; Defining styles; Style inheritance; Using triggers

  • Using Control Templates: Overview of control templates; Defining control templates for content controls; Defining control templates for items controls; Resource-only DLLs

  • Data Binding: Concepts and terminology; Binding a data source to a control; Binding to static properties in WPF 4.5; Handling property-change notifications; Conversion and validation; Custom binding in WPF 4.5

  • Data Binding to a Database: Binding to a data object; Updating the database

  • Data Binding to Collections:Binding to a collection; Defining data templates; Using collection views; Binding to ADO.NET data objects; Binding to LINQ and XML; Live shaping in WPF 4.5

  • Shapes, Transforms, and Brushes: Defining shapes; Creating and using transforms; Using brushes effectively

  • Multithreading:Multithreading with the dispatcher; BackgroundWorker; Tracking progress; Supporting cancellation

  • The MVVM Design Pattern: Overview of MVVM; MVVM application structure; MVVM programming techniques

  • Creating Windows Store Applications:Overview of the Windows Store; The role of XAML in a Windows Store application; Creating simple user interfaces for Windows Store

Andy Olsen - author of the course

Andy is a freelance consultant and instructor based in the UK, working mostly in the City of London and Oxford. Andy has been working with .NET since the Beta 1 days and has extensive experience in many facets of .NET development including WCF, WPF, WF, ASP.NET MVC Web development, and mobile applications. Andy has designed and written many Microsoft Official Curriculum courses in the last decade, and has been engaged as author and technical reviewer with Apress on some of their biggest selling books.

Andre relevante kurs

23. april
4 dager
Classroom Virtual On Demand Startgaranti