Why we are using WPF instead of Normal Windows App, so i did some research of WPF now i got idea what is the power of WPF
First we consider what are the Prob/Drawbacks of Normal Windows apps
1)Graphics Support:-By using GDI+ we can implement graphics, we need to check what type of directx available every thing we have to write lot of code
2)Audio and Video Support:- There no Native Controls for playing audio and video controls
3)Styles:-No build in Styles available
4)Resource:-we have to def manually by using Resouce files
6)Project Types:-we can implement either windows forms or windows controls lib thats will run under .net framework compatible OS
this is small set of prob/drawbacks of Normal Windows app
so now we will turn to WPF
WPF acronym is Windows Presentation Framework
Features:-
1)Rich Support of 2D and 3D Graphics
2)Native Controls for Audio and Video Support
3)Styles:-we want to provide look and feel of all controls in Form/Page level or Application Level
4)XAML:-eXtensible Application markup language is used to working on Properties rather than writing code. It is used XML based language. Every tag must be closed tag.
5)Project Types:-WPF support 3 types of Project Types
1)Stand alone:-It is similar to out normal Windows application which run local system with full trusted environement means it can access registry settings,files etc.
2)XBAP:-XAML Broser Application which run in Web Browser with partial trust environment means very limited access of local system
3)Loosse XAML :- It is used to provide navigation based application which can move from one page to another page like web application it is also run under web browser
6)Layout Controls:-Compare to Normal Windows App WPF support great layout controls to provide position controls into forms
They are:-1)Statck Panel
2)Wrap Panel
3)Dock Panel
4)Grid
7)Separation of Code and User Interface:-The Great feature of WPF is Separation of Code and user interface so designer will design the form by using Expression Blend and developers works on code using Visual Studio
Tools for WPF:-
1)Visual Studio
2)Expression Blend
.Net Windows Applications use GDI/GDI+ for graphics but WPF use DirectX(Direct3D,DirectMusic,DirectVideo etc…)
Recent Comments