Windows Presentation Foundation-WPF-Deve

Views:
 
     
 

Presentation Description

No description available.

Comments

Presentation Transcript

Windows Presentation Foundation : 

Windows Presentation Foundation Next Generation User Experience info@anubavam.com

Introduction to WPF : 

Introduction to WPF Microsoft based UI framework Graphical subsystem for rendering user interfaces in Winforms. WPF, previously known as "Avalon" WPF is essentially an alternative method for developing Windows based applications.

Introduction to WPF (Continued) : 

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) : 

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 Evolution : 

Technology Evolution Windows API MFC Microsoft Foundation Class Library Windows Forms Windows Presentation Foundation

Advantages of WPF : 

Advantages of WPF Effective use of Graphics card. Highly suitable for high end /upcoming computers Built in Animation controls Supports most of the media/document formats natively XAML(Designer and developer can work independently) Silverlight (WPF/e)

Disadvantages of WPF : 

Disadvantages of WPF WPF will not run on windows 2000 or lower. It is Missing some controls which are available Windows Forms e.g. :- DataGridView and PropertyGrid Very little help documents Very designer orientated

WPF VS WinForms Development : 

WPF VS WinForms Development WPF provides an uniform platform to use video, speech, text, 2D and 3D graphics. WPF applications can take advantage of Graphics Processing Units on Graphics cards for smoother graphics WPF is steep learning curve Winforms have lots of controls and lots of help available

WPF VS WinForms Development(Continued) : 

WPF VS WinForms Development(Continued) WPF allows separation of design work by Designers and functionality by WPF Developers Better GUI and smart cleint

Design Option - Screen : 

Window Form Windows Presentation Foundation Design Option - Screen

Future of WinForm Development : 

Future of WinForm Development Experts say that Microsoft for Windows Forms beyond Version 2.0 released in 2005) So it might force the business to migrate their current WinForm applications to WPF and start new applications on WPF

WPF and Windows OS : 

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 WPF requires.NET Framework Version 3.0 which is a free download from Microsoft Web site. .NET Framework 3.0 is shipped with Windows Vista. No install hassle.

Working with WPF : 

Working with WPF OK <Button Width="60"> OK <Button.Background> Blue </Button.Background> </Button> Button btn=new Button(); btn.Content="OK"; btn.Width=60; btn.Background=new SolidColorBrush(Colors.Blue); Dim btn As New Button btn.Content="OK" btn.Width=60 btn.Background=new _SolidColorBrush _(Colors.Blue) XAML C# VB.NET Designer Developer

When to use WPF : 

When to use WPF New applications: To build rich and highly interactive application that is sophisticated Highly Custom branded Apply enhanced user experience Existing application If you have an existing app that is just form based, you must just want to keep that in windows forms No clean separation on logic and view – Then WPF is the way

Conclusions : 

Conclusions Silverlight light and WPF shares same development tools and models However, WPF but is optimized for a lightweight, cross-platform runtime Investing in either WPF development or Silverlight development meshes your skills, tools, and assets for these platforms