• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Windows presentation foundation

Windows presentation foundation



This is about Windows Presentation Foundation(WPF). It will give an idea about WPF.

This is about Windows Presentation Foundation(WPF). It will give an idea about WPF.



Total Views
Views on SlideShare
Embed Views



1 Embed 2

http://www.slideshare.net 2



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.


11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • Thank you very much
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    Windows presentation foundation Windows presentation foundation Presentation Transcript

    • W indows P resentation F oundation Next-Generation User Experiences.
    • Introduction to WPF
      • It is a graphical subsystem for rendering user interfaces in Winforms.
      • WPF, previously known as "Avalon", was initially released as part of .NET Framework 3.0.
      • WPF is essentially an alternative method for developing Windows based applications.
    • Introduction to WPF (Continued)
      • Designed to remove dependencies on the aging Graphics Device Interface(GDI) subsystem, WPF is built on DirectX, which provides hardware acceleration and enables modern UI features. e.g.:- Transparency, Gradients and Transforms.
    • Introduction to WPF (Continued)
      • WPF provides a consistent programming model for building applications and provides a clear separation between the user interface and the business logic.
    • Technology growth Windows API MFC Microsoft Foundation Class Library Windows Forms Windows Presentation Foundation
    • Advantages of WPF
      • Effective use of Graphics card. Highly suitable for high end /upcoming computers.
      • Built in Animation.
      • Supports most of the media/document formats natively.
      • XAML(Designer and developer can work independently).
      • Silverlight (WPF/e)
    • Unified Presentation GDI/Windows Forms Flash PDF COM Interop Directx WPF 3D   Documents   Animation    Video     Interactive UI controls    
    • Disadvantages of WPF
      • WPF will not run on windows 2000 or lower.
      • At the present time there are certain controls available in Windows Forms for which no WPF equivalent exists
      • e.g. :- DataGridView and PropertyGrid
    • WPF and Silverlight
      • Silverlight (formerly known as WPF/e—the "e" stands for "everywhere") is a restricted version of WPF designed to run securely in a browser while still providing a rich user interface. Because of the security restrictions, Silverlight does not provide all the features included in WPF. Some features are missing while others are provided in a restricted way.
      • Currently only in beta form, Silverlight supports Firefox and Internet Explorer 7 on Windows and Firefox and Safari on the MAC.
    • WPF VS WinForms Development
      • WPF has a number of advantages over Windows Forms development which include
      • Comprehensive Integration – WPF provides a uniform platform for using video, speech, text, 2D and 3D graphics.
      • WPF applications can take advantage of G raphics P rocessing U nits on Graphics cards for smoother graphics.
    • WPF VS WinForms Development (Continued)
      • WPF allows separation of design work by Designers and functionality by Developers.
      • Better GUI
    • Window Form
    • The Future of WinForm Development
      • One of the authors of a leading WPF book, has suggested that there will be no further development by Microsoft for Windows Forms beyond Version 2.0 (released in 2005).
    • WPF and Windows OS
      • WPF does not explicitly require Windows Vista.
      • WPF also will work with Windows XP Service Pack 2 and with Windows Server 2003 SP1
      • IT require the .NET Framework Version 3.0, a free download from Microsoft Web site.
      • .NET Framework 3.0 Comes with Windows Vista. So no need to install.
    • Developer & Designer with WPF
    • Working with WPF
      • XAML code is principally the textual representation of some visual element – either a graphic object or a user interface object such as a button or a combo box.
      • Easy for tools to consume and generate.
      • It is new to Developers.
      • Under the standard paradigm the User Interface is described in XAML and the underlying functionality is built using C# (or Visual Basic.NET).
    • Working with WPF (Continued) <Button Width=&quot;60&quot;> OK <Button.Background> Blue </Button.Background> </Button> Button btn=new Button(); btn.Content=&quot;OK&quot;; btn.Width=60; btn.Background=new SolidColorBrush(Colors.Blue); Dim btn As New Button btn.Content=&quot;OK&quot; btn.Width=60 btn.Background=new _SolidColorBrush _(Colors.Blue) OK
    • Conclusions
      • If you have an existing Windows Forms application or are building a traditional forms-based application and are looking for a mature technology to use with mature tools and component support then Windows Forms is a good fit.
      • If you’re wanting to create a new experience for your users that is rich, interactive, sophisticated, or highly custom or branded, WPF is Microsoft’s next-generation platform for your project today.
    • Conclusions
      • If you’re targeting the web, Silverlight shares the same development model as WPF but is optimized for a lightweight, cross-platform runtime. Investing in either WPF or Silverlight nets you the skills, tools, and assets for both platforms.