Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Why Windows Presentation Foundation?
Windows Presentation Foundation

       Unified
    approach to      Integration as part
                    of developmen...
Scripps Healthcare
Allowing cancer researchers to collaborate in the search for a cure
Carl Zeiss
Medical imaging analysis
Yahoo
Next-generation instant messaging client
Iconics
Real-time manufacturing visualizations
Areva
Monitoring and controlling the electricity power grid
fnac.com
French Technology Retailer
WPF Technical Overview
Document Services             User Interface Services
                                                        Application
...
Key Platform Concepts


                                   Element                           Lookless
        XAML
       ...
XAML: Declarative Programming for Windows
   • Markup for Windows
       • Build applications in simple declarative statem...
Controls, Templates, Styles & Resources,
Layouts, Animation
                                                      Animatio...
Data Binding

Binding Target                       Binding Source   <StackPanel>
                                         ...
Integrated Vector-based
Graphics and Composition
• Modern graphics capabilities
  •   2D and 3D graphics
  •   Image effec...
2D Graphics, 3D Graphics, Imaging
Audio & Video

                                      <Border Width=quot;400quot;
                                         ...
New Document Technologies
ClearType
ClearType
Typography
Flow Content
 • Block Elements   • Inline Elements
   •   Paragraph      • Runs
   •   List           • Bold
   •   Table ...
File Packaging Conventions
   Specification
    XML Paper


                     XPS           Office 2007        Custom
 ...
Windows Presentation Foundation 3.5
Top 10 New Features in WPF 3.5
1.   XBAP supported in Firefox

2.   UIElement3D: host 2D controls in 3D space

3.   Data b...
WPF Resources
• http://msdn.microsoft.com/windowsvista
  • MSDN Developer Center for WPF

• http://windowsclient.net/

• W...
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be...
Wpf Tech Overview2009
Upcoming SlideShare
Loading in …5
×

Wpf Tech Overview2009

1,506 views

Published on

Windows Presentation Foundation 3.5 Technical Overview

Published in: Design, Technology
  • Be the first to comment

  • Be the first to like this

Wpf Tech Overview2009

  1. 1. Why Windows Presentation Foundation?
  2. 2. Windows Presentation Foundation Unified approach to Integration as part of development and UI, Documents, experience and Media Integrated, Utilizing the power vector-based of the PC composition throughout the graphics stack engine Bringing designers Declarative directly into programming application development Allowing Ease of administrators to deployment deploy and manage applications securely
  3. 3. Scripps Healthcare Allowing cancer researchers to collaborate in the search for a cure
  4. 4. Carl Zeiss Medical imaging analysis
  5. 5. Yahoo Next-generation instant messaging client
  6. 6. Iconics Real-time manufacturing visualizations
  7. 7. Areva Monitoring and controlling the electricity power grid
  8. 8. fnac.com French Technology Retailer
  9. 9. WPF Technical Overview
  10. 10. Document Services User Interface Services Application XPS Documents Controls Services Data Binding Deployment Packaging Services Layout XPS Viewer Services Core Presentation Base Services Imaging 2D Audio XAML Text Effects 3D Video Accessibility Animation Input & Events Visual Primitives Property System Input / DWM Property Eventing Engine System Composition Engine Media Integration Layer Windows Media Foundation Direct3D .NET Framework Windows Vista Display Driver (LDDM)
  11. 11. Key Platform Concepts Element Lookless XAML Composition Controls Data Composited Binding Visuals http://msdn.microsoft.com/msdnmag/issues/06/01/WindowsPresentationFoundation/default.aspx
  12. 12. XAML: Declarative Programming for Windows • Markup for Windows • Build applications in simple declarative statements • Can be used for any CLR object hierarchy (not just WPF) • Code and content are separate • Streamline collaboration between designers and developers • Easy for tools to consume and generate <Button Width=quot;100quot;>OK Button b1 = new Button(); Dim b1 As New Button <Button.Background> b1.Content = quot;OKquot;; b1.Content = quot;OKquot; LightBlue b1.Background = new b1.Background = New _ </Button.Background> SolidColorBrush SolidColorBrush _ </Button> (Colors.LightBlue); (Colors.LightBlue) b1.Width = 100; b1.Width = 100
  13. 13. Controls, Templates, Styles & Resources, Layouts, Animation Animation, Triggers, Timelines <StackPanel> Templated <StackPanel.Triggers> <EventTrigger RoutedEvent=“Button.Clickquot;> Button <EventTrigger.Actions> <BeginStoryboard> <BeginStoryboard.Storyboard> <Storyboard> <ColorAnimation To=quot;Yellowquot; Duration=quot;0:0:0.5“ UI Services Storyboard.TargetName=quot;TheBrushquot; Storyboard.TargetProperty=quot;Colorquot; /> • Templates <DoubleAnimation To=quot;45quot; Duration=quot;0:0:2quot; Storyboard.TargetName=quot;LowerEllipseTransformquot; • Layout Storyboard.TargetProperty=quot;Anglequot; /> • Controls Library ... </StackPanel.Triggers> • Styles and Resources … remainder of contents of StackPanel, including x:Name'd TheBrush and LowerEllipseTransform … • Annotation </StackPanel>
  14. 14. Data Binding Binding Target Binding Source <StackPanel> <Label>Select A Customer</Label> Dependency Object Object <ListBox Name=quot;myListBoxquot; OneWay Background=quot;HoneyDewquot; Dependency TwoWay Property ItemsSource= Property OneWayToSource quot;{Binding {StaticResource mySource}}quot; </ListBox> </StackPanel> • UI can be bound to CLR objects or XML • Dependency properties can also be bound to ADO.NET and objects associated with Web Services and Web properties • Sort, filter, and group views can be generated on top of the data • Data templates can be applied to data
  15. 15. Integrated Vector-based Graphics and Composition • Modern graphics capabilities • 2D and 3D graphics • Image effects and codec • Hardware accelerated sub-pixel ClearType • Video and audio • Revolutionizing the graphics and media pipeline • Across the display, audio, printing, and remoting subsystems • Direct3D-based hardware acceleration throughout the rendering pipeline • Anticipates future hardware technologies • Resolution independence • Double floating point precision • Deeper color pipeline Enabling high-quality, cinematic experiences
  16. 16. 2D Graphics, 3D Graphics, Imaging
  17. 17. Audio & Video <Border Width=quot;400quot; BorderBrush=quot;Greenquot; BorderThickness=quot;9quot;> <StackPanel> <MediaElement Source=quot;aero.wmvquot; /> <Button>Hello</Button> </StackPanel> </Border> • Formats: WMV, MPEG, Some AVIs • Can be synchronized with animations • Windows Media Foundation used to instantiate playback machinery into a DirectShow graph
  18. 18. New Document Technologies
  19. 19. ClearType
  20. 20. ClearType
  21. 21. Typography
  22. 22. Flow Content • Block Elements • Inline Elements • Paragraph • Runs • List • Bold • Table • Underline • Floater • Controls • Figure • Media • Column • Hyperlinks • 2D Graphics
  23. 23. File Packaging Conventions Specification XML Paper XPS Office 2007 Custom Document Open XML Formats Format Formats Package Services Parts and Relationships Abstraction ZIP Open Packaging Conventions Specification
  24. 24. Windows Presentation Foundation 3.5
  25. 25. Top 10 New Features in WPF 3.5 1. XBAP supported in Firefox 2. UIElement3D: host 2D controls in 3D space 3. Data bind to XLINQ data sources 4. Performance fixes to animation, layered windows, data binding 5. WCF available in partial-trust security mode 6. System.AddIn for isolation of pluggable components 7. Indic Script Support 8. More granular debugging of data binding failures 9. New properties for data validation 10. Native design-time developer tools integrated with Visual Studio 2008
  26. 26. WPF Resources • http://msdn.microsoft.com/windowsvista • MSDN Developer Center for WPF • http://windowsclient.net/ • Windows Presentation Foundation Technical Community • http://www.microsoft.com/expression • Microsoft Expression Studio
  27. 27. © 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.

×