KEMBAR78
A Tour of Windows Presentation Foundation (WPF) | PPT
A tour of Windows Presentation Foundation Mike Taulty Developer & Platform Group Microsoft Ltd [email_address]   http://www.miketaulty.com
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 unmanaged
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
it provides a unified framework Vector Drawn H/W Accelerated Retained Graphics Logical Pixels Layout Composition Databinding Animation Transformation Effects
development makes use of XAML eXtensible Application Markup Language Provides separation of concerns for UI/code Drives tooling for designer/developer workflow Load dynamically  or  compile with code Extensible to your own types
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 CodePlex  adds WPF Toolkit DataGrid Calendar DatePicker WPF Ribbon WPF Futures with more
many controls are  content  controls
content controls in WPF
controls have visual  templates Separation of control behaviour from control appearance
templating a control
you can build your own controls UserControl  for composition of controls Panel  for custom layout Control  for ultimate flexibility incl. templating
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 Elements have a dictionary of resources identified by  Key Resources from various files can be  merged  into one Resolution of a resource is a hierarchical lookup Styles contain  setters  for  Properties  and  Values Styles can be applied by  type  or by  key Styles can derived from other styles resources styles
resources and styles
built-in animation system Animation is driven by  Storyboards Storyboard DoubleAnimation ColorAnimation etc PointAnimation
built-in triggering system Declarative means of taking action when  something  happens When some property hits some value  When some data hits some value When some event happens
animations & triggers
databinding is  core  in WPF Elements have a  DataContext Resolution of declarative bindings is done by hierarchically examining an element’s  DataContext Button Grid
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 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.

A Tour of Windows Presentation Foundation (WPF)

  • 1.
    A tour ofWindows Presentation Foundation Mike Taulty Developer & Platform Group Microsoft Ltd [email_address] http://www.miketaulty.com
  • 2.
    WPF is aframework for rich apps
  • 3.
  • 4.
    built in .NETon top of Direct3D *this makes graphics cards significant to the performance of the application managed unmanaged
  • 5.
    there are 3public versions 2006 w/Vista 2007 w/VS 2008 2008 w/VS 2008 Sp1 Windows XP Service Pack 2+ Windows Vista Windows 7
  • 6.
    it provides aunified framework Vector Drawn H/W Accelerated Retained Graphics Logical Pixels Layout Composition Databinding Animation Transformation Effects
  • 7.
    development makes useof XAML eXtensible Application Markup Language Provides separation of concerns for UI/code Drives tooling for designer/developer workflow Load dynamically or compile with code Extensible to your own types
  • 8.
    XAML is often“backed” by code XAML markup language defines UI .NET code handles interaction WPF .NET Application
  • 9.
    tooling for WPFin 2008 Develop with Visual Studio 2008 Sp1 Design Styles & Interaction in Expression Blend 2 Sp1
  • 10.
  • 11.
    rich set of2D graphical capabilities
  • 12.
  • 13.
  • 14.
  • 15.
    rich set of3D graphical capabilities
  • 16.
  • 17.
    rich set ofmedia capabilities
  • 18.
  • 19.
  • 20.
  • 21.
    rich set ofcontrols CodePlex adds WPF Toolkit DataGrid Calendar DatePicker WPF Ribbon WPF Futures with more
  • 22.
    many controls are content controls
  • 23.
  • 24.
    controls have visual templates Separation of control behaviour from control appearance
  • 25.
  • 26.
    you can buildyour own controls UserControl for composition of controls Panel for custom layout Control for ultimate flexibility incl. templating
  • 27.
    or look to3 rd parties
  • 28.
    3 rd party WPF controls
  • 29.
    a unified framework all with the same, consistent programming model
  • 30.
  • 31.
    resources and styles Elements have a dictionary of resources identified by Key Resources from various files can be merged into one Resolution of a resource is a hierarchical lookup Styles contain setters for Properties and Values Styles can be applied by type or by key Styles can derived from other styles resources styles
  • 32.
  • 33.
    built-in animation systemAnimation is driven by Storyboards Storyboard DoubleAnimation ColorAnimation etc PointAnimation
  • 34.
    built-in triggering systemDeclarative means of taking action when something happens When some property hits some value When some data hits some value When some event happens
  • 35.
  • 36.
    databinding is core in WPF Elements have a DataContext Resolution of declarative bindings is done by hierarchically examining an element’s DataContext Button Grid
  • 37.
    databinding is core in WPF
  • 38.
  • 39.
    deploying WPF applicationsXAML Browser Application (XBAP) ClickOnce Application Full Client
  • 40.
    if we hada day...more topics *there are no doubt many more topics we’ve omitted 
  • 41.
  • 42.
    © 2008 MicrosoftCorporation. 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.

Editor's Notes

  • #2 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.