Windows Presentation Foundation (WPF) Declare Your Next User Interface.
-
Upload
julian-lucas -
Category
Documents
-
view
226 -
download
0
Transcript of Windows Presentation Foundation (WPF) Declare Your Next User Interface.
Windows Presentation Foundation (WPF)
Declare Your Next User Interface
Windows Presentation Foundation
WPF
WTF?
WWF
Microsoft Windows .Net 3.0
Ohhhh PRETTY!
What is WPF?
• Declarative Markup (XML Based)
• Vector Graphics Rendering
• Graphics Card Accelerated / Optimized
• Complete Win32, WF, HTML Integration
• Layered on top of .Net 2.0
• Available in Vista and XP SP2.0
• Something that you can use NOW!
What WPF Isn’t
• A complete replacement for Windows Forms
• Just pretty buttons and animations
• Only for designers
• Something that you can’t use right NOW
Remember HTML/XML?
XAML (XML Based)
<Page xmlns=“http://schemas.microsoft.com/winfx/2006/xaml/presentation”> <Button>Hello World</Button></Page>
Demo
3 Ways to do WPF
• Pure XAML
• XAML + C# Code
• C# CODE
It’s all about abstraction…
Presentation from Data / Implementation
Demo
Interaction with Data
• New means of binding in XAML
• Declarative syntax, Easy Data Sourcing
Demo
WPF in 3D
• Full DirectX Utilization
• Put that GFX Card to work
• Yup, it’s declarative
Demo
How can you use it now?
• Complete integration with Windows Forms– Host XAML content in Windows Forms 2.0– Host Windows Forms 2.0 Content in XAML– Complete communication across boundaries
Now available for development (GO-LIVE)
Deployment
• MSI
• ClickOnce
• XBAP– http://www.thewpfblog.com/
Demo
XAML Authoring Tools
• XAMLPad
• ZAM 3D
• Aurora XAML Editor (Mobiform)
• MyXaml
• Expression Tools (Interactive / Graphics)
Demo
Resources
• http://wpf.netfx3.com/
• http://blogs.msdn.com/tims/ (Tim Sneath)
• http://www.thewpfblog.com/
• http://msdn.microsoft.com/windowsvista/downloads/products/getthebeta/
• http://msdn.microsoft.com/winfx/
• http://blogs.inetium.com