This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: ©2009 Microsoft Corporation. All rights reserved. Windows Presentation Foundation Introduction to Windows Presentation Foundation Windows Presentation Foundation (WPF) is a next-generation presentation system for building Windows client applications with visually stunning user experiences. With WPF, you can create a wide range of both standalone and browser-hosted applications. Some examples are Yahoo! Messenger [ http://go.microsoft.com/fwlink/? LinkId=91192 ] and the New York Times Reader [ http://go.microsoft.com/fwlink/?LinkId=91193 ] , as well as the Contoso Healthcare Sample Application [ http://go.microsoft.com/fwlink/?LinkId=91196 ] that is shown in the following figure. The core of WPF is a resolution-independent and vector-based rendering engine that is built to take advantage of modern graphics hardware. WPF extends the core with a comprehensive set of application-development features that include Extensible Application Markup Language (XAML), controls, data binding, layout, 2-D and 3-D graphics, animation, styles, templates, documents, media, text, and typography. WPF is included in the Microsoft .NET Framework, so you can build applications that incorporate other elements of the .NET Framework class library. This overview is intended for newcomers and covers the key capabilities and concepts of WPF. Experienced WPF developers seeking a review of WPF may also find this overview useful. Note: For new and updated WPF features in the .NET Framework 3.5, see What's New in Windows Presentation Foundation Version 3.5 [ http://msdn.microsoft.com/en-us/library/bb613588.aspx ] . This topic contains the following sections. Programming with WPF • Markup and Code-Behind • Applications • Controls • Page 1 of 41 Introduction to Windows Presentation Foundation 8/5/2009 http://msdn.microsoft.com/en-us/library/aa970268(printer).aspx XAML Copy Code Input and Commanding • Layout • Data Binding • Graphics • Animation • Media • Text and Typography • Documents • Customizing WPF Applications • WPF Best Practices • Summary • Recommended Overviews and Samples • Related Topics • Programming with WPF WPF exists as a subset of .NET Framework types that are for the most part located in the System.Windows [ http://msdn.microsoft.com/en-us/library/system.windows.aspx ] namespace. If you have previously built applications with .NET Framework using managed technologies like ASP.NET and Windows Forms, the fundamental WPF programming experience should be familiar; you instantiate classes, set properties, call methods, and handle events, all using your favorite .NET Framework programming language, such as C# or Visual Basic. To support some of the more powerful WPF capabilities and to simplify the programming experience, WPF includes additional programming constructs that enhance properties and events: dependency properties and routed events . For more information on dependency properties, see Dependency Properties Overview [ http://msdn.microsoft.com/en-us/library/ms752914.aspx ] . For more information on routed events, see[ http://msdn....
View Full Document
This note was uploaded on 02/13/2012 for the course CS 91.550 taught by Professor Yanco during the Spring '11 term at UMass Lowell.
- Spring '11