Professional Documents
Culture Documents
Foundation
Introducing Windows Presentation
Foundation
• The primary goal of Windows Presentation Foundation
(WPF) is to help developers create attractive and effective
user interfaces.
This screen contains text and images along with both two- and three-dimensional graphics. All of
this was produced using WPF—the developer doesn't need to write code that uses specialized
graphics technologies such as GDI+ or Direct3D. Similarly, WPF allows displaying and perhaps
annotating video, such as the ultrasound feed shown below.
To define this type of document, Microsoft has created the XML Paper
Specification (XPS). WPF also provides a group of application programming
interfaces (APIs) that developers can use to create and work with XPS
documents.
<Button Background="Red">
No
</Button>
What Is XAML?
• The developer then writes the code for the interface, such as
event handlers, along with any other functionality the application
requires.
XAML helps designers and developers
work together
Using the same code also means using the same developer
skills.