0
A tour of Windows Presentation Foundation Mike Taulty Developer & Platform Group Microsoft Ltd [email_address]   http://ww...
WPF is a framework for rich apps
applications built with WPF
built in .NET on top of Direct3D *this makes graphics cards  significant  to the performance of the application managed un...
there are 3 public versions 2006  w/Vista 2007 w/VS 2008 2008 w/VS 2008 Sp1 Windows XP Service Pack 2+ Windows Vista Windo...
it provides a unified framework Vector Drawn H/W Accelerated Retained Graphics Logical Pixels Layout Composition Databindi...
development makes use of XAML <ul><li>eXtensible Application Markup Language </li></ul><ul><li>Provides separation of conc...
XAML is often “backed” by code XAML  markup language defines UI .NET  code  handles  interaction WPF .NET Application
tooling for WPF in 2008 Develop with Visual Studio 2008 Sp1 Design Styles & Interaction in Expression Blend 2 Sp1
“ Hello World” in WPF
rich set of 2D graphical capabilities
2D Graphics in WPF
extensible facilities for layout
layout in WPF
rich set of 3D graphical capabilities
3D Graphics in WPF
rich set of media capabilities
media in WPF
capabilities for documents & text
documents/text in WPF
rich set of controls <ul><li>CodePlex  adds </li></ul><ul><ul><li>WPF Toolkit </li></ul></ul><ul><ul><ul><li>DataGrid </li...
many controls are  content  controls
content controls in WPF
controls have visual  templates <ul><li>Separation of control behaviour from control appearance </li></ul>
templating a control
you can build your own controls <ul><li>UserControl  for composition of controls </li></ul><ul><li>Panel  for custom layou...
or look to 3 rd  parties
3 rd  party WPF controls
a  unified  framework all with the same, consistent programming model
a unified framework
resources  and  styles <ul><li>Elements have a dictionary of resources identified by  Key </li></ul><ul><li>Resources from...
resources and styles
built-in animation system <ul><li>Animation is driven by  Storyboards </li></ul>Storyboard DoubleAnimation ColorAnimation ...
built-in triggering system <ul><li>Declarative means of taking action when  something  happens </li></ul>When some propert...
animations & triggers
databinding is  core  in WPF <ul><li>Elements have a  DataContext </li></ul><ul><li>Resolution of declarative bindings is ...
databinding is  core  in WPF
databinding
deploying WPF applications XAML Browser Application (XBAP) ClickOnce Application Full Client
if we had a day...more topics *there are no doubt many more topics we’ve omitted  
more WPF?
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be...
Upcoming SlideShare
Loading in...5
×

A Tour of Windows Presentation Foundation (WPF)

805

Published on

MikeTaulty_Wpf

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
805
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
73
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 06/07/09 01:40 © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
  • Transcript of "A Tour of Windows Presentation Foundation (WPF)"

    1. 1. A tour of Windows Presentation Foundation Mike Taulty Developer & Platform Group Microsoft Ltd [email_address] http://www.miketaulty.com
    2. 2. WPF is a framework for rich apps
    3. 3. applications built with WPF
    4. 4. built in .NET on top of Direct3D *this makes graphics cards significant to the performance of the application managed unmanaged
    5. 5. there are 3 public versions 2006 w/Vista 2007 w/VS 2008 2008 w/VS 2008 Sp1 Windows XP Service Pack 2+ Windows Vista Windows 7
    6. 6. it provides a unified framework Vector Drawn H/W Accelerated Retained Graphics Logical Pixels Layout Composition Databinding Animation Transformation Effects
    7. 7. development makes use of XAML <ul><li>eXtensible Application Markup Language </li></ul><ul><li>Provides separation of concerns for UI/code </li></ul><ul><li>Drives tooling for designer/developer workflow </li></ul><ul><li>Load dynamically or compile with code </li></ul><ul><li>Extensible to your own types </li></ul>
    8. 8. XAML is often “backed” by code XAML markup language defines UI .NET code handles interaction WPF .NET Application
    9. 9. tooling for WPF in 2008 Develop with Visual Studio 2008 Sp1 Design Styles & Interaction in Expression Blend 2 Sp1
    10. 10. “ Hello World” in WPF
    11. 11. rich set of 2D graphical capabilities
    12. 12. 2D Graphics in WPF
    13. 13. extensible facilities for layout
    14. 14. layout in WPF
    15. 15. rich set of 3D graphical capabilities
    16. 16. 3D Graphics in WPF
    17. 17. rich set of media capabilities
    18. 18. media in WPF
    19. 19. capabilities for documents & text
    20. 20. documents/text in WPF
    21. 21. rich set of controls <ul><li>CodePlex adds </li></ul><ul><ul><li>WPF Toolkit </li></ul></ul><ul><ul><ul><li>DataGrid </li></ul></ul></ul><ul><ul><ul><li>Calendar </li></ul></ul></ul><ul><ul><ul><li>DatePicker </li></ul></ul></ul><ul><ul><li>WPF Ribbon </li></ul></ul><ul><ul><li>WPF Futures with more </li></ul></ul>
    22. 22. many controls are content controls
    23. 23. content controls in WPF
    24. 24. controls have visual templates <ul><li>Separation of control behaviour from control appearance </li></ul>
    25. 25. templating a control
    26. 26. you can build your own controls <ul><li>UserControl for composition of controls </li></ul><ul><li>Panel for custom layout </li></ul><ul><li>Control for ultimate flexibility incl. templating </li></ul>
    27. 27. or look to 3 rd parties
    28. 28. 3 rd party WPF controls
    29. 29. a unified framework all with the same, consistent programming model
    30. 30. a unified framework
    31. 31. resources and styles <ul><li>Elements have a dictionary of resources identified by Key </li></ul><ul><li>Resources from various files can be merged into one </li></ul><ul><li>Resolution of a resource is a hierarchical lookup </li></ul><ul><li>Styles contain setters for Properties and Values </li></ul><ul><li>Styles can be applied by type or by key </li></ul><ul><li>Styles can derived from other styles </li></ul>resources styles
    32. 32. resources and styles
    33. 33. built-in animation system <ul><li>Animation is driven by Storyboards </li></ul>Storyboard DoubleAnimation ColorAnimation etc PointAnimation
    34. 34. built-in triggering system <ul><li>Declarative means of taking action when something happens </li></ul>When some property hits some value When some data hits some value When some event happens
    35. 35. animations & triggers
    36. 36. databinding is core in WPF <ul><li>Elements have a DataContext </li></ul><ul><li>Resolution of declarative bindings is done by hierarchically examining an element’s DataContext </li></ul>Button Grid
    37. 37. databinding is core in WPF
    38. 38. databinding
    39. 39. deploying WPF applications XAML Browser Application (XBAP) ClickOnce Application Full Client
    40. 40. if we had a day...more topics *there are no doubt many more topics we’ve omitted 
    41. 41. more WPF?
    42. 42. © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×