What Is It, What Can You Do With It and How Do You Get Started
What Is It, What Can You Do With It and How Do You Get Started
Sue Chard
11 April 2006
Dot Net User Group
WPF
What is it
How does it fit in with winforms directx etc
How do you get it
How do you build with it
Windows Presentation Foundation
Used to be called Avalon
Graphics subsystem in Vista – Managed Graphics
Does not use GDI/GDI32/GDI+ - essentially
replaces win32
Can be installed as part of WinFX runtime
Windows XP SP 2
Windows Server 2003 SP1
Also a mobile version WPF/E (everywhere)
New buzz “word” UX
Applications
Controls
Styling
Presentation Framework
PresentationCore.dll
MilCore.dll
DirectX
Driver
What type of Applications can be
built
WPF intended to replace both webforms and windows
forms – apps can be built to run in a browser or a
standalone window
Windows forms and WPF pages/windows can co-exist in
the same application
One WPF page/window can have both types of controls
on it
A new type of web application called XAML Browser
Application XBAP (formerly Web Browser Application
WBA)
What do the applications look like
XAML to define interface
Declarative
Xml based
Has actions as well
Separates design from code allowing graphics
designers and coders to work together on the
same project
Explanation of structure
http://msdn.microsoft.com/windowsvista/default.aspx?
pull=/library/en-us/dnlong/html/wpf101.asp
State of development
February CTP was feature complete
Still a bit slow to run, expect performance
improvements with next releases especially if
software rendering
Need a compatible graphics card (GPU)
http://www.microsoft.com/technet/windowsvista/evalu
ate/hardware/entpguid.mspx
May need to update GPU drivers
Not for twitch games where polygon counts
matter…
Good for complex data visualisation and
dynamic interactive experiences
Get WPF
http://msdn.microsoft.com/windowsvista/downloads/getthebeta/default.aspx
Designer tools
MS Expression Graphic Designer (Acrylic)
MS Expression Interactive designer
(Sparkle)
MS Expression Web Designer (Quartz)
MS Visual Studio Designer (Cider)
Designer tools
http://www.microsoft.com/products/expression/en/default.mspx
Demo