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.



Published on

WPF description.

Published in: Education, Technology
  • Could you please allow me to download these slides ?
    Are you sure you want to  Yes  No
    Your message goes here


  1. 1. Windows Presentation Foundation Ch. Vishwa Mohan M.Sc., M.Tech Freelance Software Consultant & Corporate Trainer
  2. 2. <ul><li>Introducing WPF, Silverlight & MS Expression Blend </li></ul><ul><li>Introducing XAML </li></ul><ul><li>Developer and Designer Collaboration for WPF. </li></ul><ul><li>WPF Controls </li></ul><ul><li>WPF Layouts </li></ul><ul><li>Reusability with WPF Resources </li></ul><ul><li>Principles of WPF Styles, Triggers and Templates </li></ul><ul><li>WPF Data Bindings </li></ul><ul><li>Building your own WPF Controls </li></ul><ul><li>Interoperability between WPF and Windows Forms </li></ul><ul><li>Animation & 3 Dimensional </li></ul><ul><li>Building Silverlight 2.0 Applications </li></ul>Agenda
  3. 3. WPF Introduction Windows Presentation Foundation
  4. 4. <ul><li>What is WPF ? </li></ul><ul><li>What is User Experience ? </li></ul><ul><li>WPF Architecture in .NET 3.5 </li></ul><ul><li>What is Silverlight ? </li></ul><ul><li>What is Expression Blend ? </li></ul>WPF Introduction
  5. 5. &quot;.NET At The Core”
  6. 6. Windows Presentation Foundation A productive, unified approach to UI, media and documents to deliver unmatched user experience
  7. 7. What is WPF ? <ul><li>WPF is essentially alternative method for developing Windows based, XAML Browser (XBAP) as well as Web based applications. </li></ul><ul><li>WPF is a new graphical subsystem in Vista or advanced that provide holistic means for combining user interface, 2D & 3D graphics , documents and digital media . </li></ul><ul><li> WPF Application = “ Code ” + “ Markup ” </li></ul><ul><li>WPF and XAML also provide the foundation for a cross-platform WPF-centric plug-in termed Silverlight . </li></ul><ul><ul><li>With Silverlight, you are able to build extremely feature-rich and interactive web applications. </li></ul></ul><ul><ul><li>Like WPF, Silverlight has a vector-based graphical system, animation support, a rich text document model and multimedia support also provided. </li></ul></ul>
  8. 8. WPF Advantages over Win Forms <ul><li>WPF has a number of advantages over Win Forms development includes: </li></ul><ul><ul><li>Comprehensive Integration – WPF provides a uniform platform for using video, speech, text, 2D and 3D graphics </li></ul></ul><ul><ul><li>Resolution Independence – as DPI increases, WPF applications maintain their size exactly. </li></ul></ul><ul><ul><ul><li>Instead of shrinking, WPF applications merely get sharper. </li></ul></ul></ul><ul><ul><li>One of the big feature of WPF is that the work can be easily separated between designers and developers . </li></ul></ul><ul><ul><ul><li>The outcome of the designers work can be directly used by developer. </li></ul></ul></ul><ul><ul><li>WPF supports a new model for content under which almost any control can host almost any other control . </li></ul></ul><ul><ul><ul><li>So it permits very rich user interfaces as almost any control can support 3D graphics, animations and even videos. </li></ul></ul></ul><ul><ul><li>WPF was designed from the ground up for managed code . So it benefits 5+ years experience of .NET. </li></ul></ul>
  9. 9. <ul><li>WPF intended to replace both WebForms, XBAP and Windows Forms – apps can be built to run in a browser or a standalone window. </li></ul><ul><ul><li>Windows forms & WPF pages/windows can co-exist in the same application </li></ul></ul><ul><ul><li>One WPF page/window can have both types of controls on it </li></ul></ul><ul><ul><li>A new type of web application called XAML Browser Application XBAP. </li></ul></ul><ul><li>WPF is the a complete revamp of Windows Forms so that UI, graphic, and media development is now designed around the .NET Framework. </li></ul><ul><li>WPF also have a mobile version called as WPF/E (Everywhere) </li></ul><ul><li>WPF is a new library to create rich windows smart client user experience. </li></ul><ul><ul><li>WPF is based on DirectX . It doesn’t use GDI, GDI32 or GDI+. </li></ul></ul><ul><ul><li>WPF incorporates UI, Media and Documents . </li></ul></ul><ul><li>Fundamental goals of WPF are: </li></ul><ul><ul><li>Unified approach to UI, Document and Media. </li></ul></ul><ul><ul><li>Declarative Programming. </li></ul></ul><ul><ul><li>Integrated vector based composition engine. ( Utilizes the power of PC throughout the graphics stack ). </li></ul></ul>WPF Vision
  10. 10. <ul><li>State of the art graphics </li></ul><ul><ul><li>DirectX under the covers </li></ul></ul><ul><ul><li>Controls, 2D and 3D graphics </li></ul></ul><ul><ul><li>Rich Media Integration (Images, audio, video) </li></ul></ul><ul><ul><li>Animation </li></ul></ul><ul><ul><li>Visual Styling </li></ul></ul><ul><li>Not tied to the hardware </li></ul><ul><ul><li>Logical pixels </li></ul></ul><ul><ul><li>Blurred line between Windows and graphics </li></ul></ul><ul><ul><li>Takes advantage of high end graphic card. </li></ul></ul><ul><li>Raised abstraction level </li></ul><ul><ul><li>Element composition </li></ul></ul><ul><ul><li>Data contexts </li></ul></ul><ul><ul><li>Resources </li></ul></ul><ul><li>Declarative programming mode (XAML). </li></ul><ul><li>Documents and Contents ( Word, PDF, etc., Video and Audio ). </li></ul><ul><li>Interop with Windows Forms </li></ul>WPF Features
  11. 11. What Is User Experience?
  12. 12. User Experience in Software? Ease of Use Learn ability Performance Reliability Security Optimized form factors Legibility / Readability Relevance / Contextualization Richness Graphics & Media Data Visualization Higher Fidelity Information Globalization Accessibility Hardware & Printing Integration Windows Vista Office 2007 Measuring UX ROI (end user behaviors / benefits) Success Productivity Retention Comprehension Conversion Satisfaction Excitement Repeat Use
  13. 13. Windows Presentation Foundation <ul><li>Deliver Innovative User Interfaces </li></ul><ul><li>Increase Developer-Designer Productivity; </li></ul><ul><li>Leveraging Existing Code Base and Skills Set </li></ul>Superior UX with UI, Media & Documents A productive, unified approach to UI, media and documents to deliver unmatched UX
  14. 14. WPF Architecture in .NET
  15. 15. <ul><li>The following are the foundation development pieces that make up most WPF. </li></ul><ul><ul><li>PresentationFramework, </li></ul></ul><ul><ul><li>PresentationCore </li></ul></ul><ul><ul><li>milcore </li></ul></ul><ul><li>In the above pieces only milcore is unmanaged code. </li></ul>Anatomy of WPF Enabled Application
  16. 16. What is Silverlight ? <ul><li>Subset of WPF focused on interactive content. </li></ul><ul><li>Great integration with web. </li></ul><ul><ul><li>Cross platform and Cross browser. </li></ul></ul><ul><ul><li>Supports Java Script, C# / VB.NET </li></ul></ul><ul><li>XAML is the enabling technology. </li></ul><ul><li>Origins of Silverlight is WPF( XAML, WPF API & .NET ) </li></ul><ul><li>WPF to Silverlight: </li></ul><ul><li>Current version of Silverlight is 4 . </li></ul>
  17. 17. <ul><li>Expression Blend is an interactive developer tool. It is a visual designer for XAML, the underlying presentation technology for WPF and Silverlight applications. </li></ul><ul><li>Expression Blend was created to provide designers with the ability to create WPF application interfaces and interactive media. </li></ul><ul><ul><li>Designers are not required to understand the XAML syntax since the tool emits the markup for all graphics. </li></ul></ul><ul><li>Expression Blend supports tools to build story frames for animations, color blending utilities, layout and graphical transformation tools , and so forth. </li></ul><ul><ul><li>Expression Blend also supports to establish data bindings and event triggers . </li></ul></ul>Expression Blend
  18. 18. What is Microsoft Expression Blend ? <ul><li>Expression Blend is used to create sophisticated user interfaces for Windows and Silverlight based applications. </li></ul><ul><ul><li>Visual Studio is for development task & Expression Blend is for Design. </li></ul></ul>
  19. 19. <ul><li>You can reach me at </li></ul><ul><li>Ch.Vishwa Mohan </li></ul><ul><li>Mobile: 8801853035 </li></ul><ul><li>Email: </li></ul>Thank You !