![Page 1: Windows Presentation Foundation Overview Greg Smalter Red Stapler Software, LLC](https://reader030.vdocument.in/reader030/viewer/2022020208/56649b43550346318e8b5a4d/html5/thumbnails/1.jpg)
Windows Presentation Foundation Overview
Greg SmalterRed Stapler Software, LLC
![Page 2: Windows Presentation Foundation Overview Greg Smalter Red Stapler Software, LLC](https://reader030.vdocument.in/reader030/viewer/2022020208/56649b43550346318e8b5a4d/html5/thumbnails/2.jpg)
Agenda
Discussion of WPF applicability Demos of WPF using Cider and
Expression Blend More discussion on what WPF means
for a developer (as opposed to other roles)
![Page 3: Windows Presentation Foundation Overview Greg Smalter Red Stapler Software, LLC](https://reader030.vdocument.in/reader030/viewer/2022020208/56649b43550346318e8b5a4d/html5/thumbnails/3.jpg)
Benefits
Markup/code-behind model (like ASP.NET)
Excellent layout options and text flow features
Access to powerful graphics hardware Certain otherwise-impossible effects
are made easy (skewing and rotating textboxes, etc.)
![Page 4: Windows Presentation Foundation Overview Greg Smalter Red Stapler Software, LLC](https://reader030.vdocument.in/reader030/viewer/2022020208/56649b43550346318e8b5a4d/html5/thumbnails/4.jpg)
Drawbacks
Users are not big fans of having their text boxes skewed and rotated
Steep learning curve Confusing scope Does not cover all bases covered by
Windows Forms
![Page 5: Windows Presentation Foundation Overview Greg Smalter Red Stapler Software, LLC](https://reader030.vdocument.in/reader030/viewer/2022020208/56649b43550346318e8b5a4d/html5/thumbnails/5.jpg)
Developers’ Perspective
WPF is not aimed at developers Clearly not geared towards adding
elements dynamically through code-behind It is difficult to set some properties on
elements (Grid.Row, for example) in code-behind
Marks a return to weak-typing
![Page 6: Windows Presentation Foundation Overview Greg Smalter Red Stapler Software, LLC](https://reader030.vdocument.in/reader030/viewer/2022020208/56649b43550346318e8b5a4d/html5/thumbnails/6.jpg)
Tools
Cider (Visual Studio 2005) Expression Blend XAML Pad 3D tools such as Lightwave can
generate XAML.
![Page 7: Windows Presentation Foundation Overview Greg Smalter Red Stapler Software, LLC](https://reader030.vdocument.in/reader030/viewer/2022020208/56649b43550346318e8b5a4d/html5/thumbnails/7.jpg)
Comparisons
WPF vs. DirectX and GDI+ WPF/E vs. ASP.NET AJAX
![Page 8: Windows Presentation Foundation Overview Greg Smalter Red Stapler Software, LLC](https://reader030.vdocument.in/reader030/viewer/2022020208/56649b43550346318e8b5a4d/html5/thumbnails/8.jpg)
Other Resources Good, flashy presentation by Filipe Fortes:
http://sessions.mix06.com/display_detail.asp?sessionChoice=2001&disc=&pid=NGW030&year=2005
Five day course for WPF: http://blogs.msdn.com/karstenj/archive/2006/06/15/my-five-day-course-for-hitting-the-wpf-curve-cliff.aspx
Flashy WPF/E demo: http://www.wynapse.com/WPFE/ReflectionBuilder.html
Microsoft’s WPF slides: http://wpf.netfx3.com/content/Spreadtheword.aspx