Introduction to Windows Presentation Fondation

By | June 22, 2011

Uh …. hello … I’ll start my first technical article with the technology WindowsPresentation Foundation
then it’s my favorite. First, what is Windows Presentation Foundation (WPF)?Windows Presentation Foundation is the next generation of Microsoft UIframework
to create applications with rich user exprience.
It is part. NET Framework 3.0 and above.
WPF combines applications with graphical user interfaces (2D, 3D), the documentand multimedia.
Vector rendering engine uses hardware acceleration of modern graphics cards.
This makes the interface faster, scalable and resolution independent following figuregives an overview of the WPF maininnovations

Now let’s go further with the separation of appearance and behavior

WPF separates the development of user interface behavior.
The onset is usually specified in the Extensible Application Markup Language(XAML)
The behavior is implemented and managed in a programming language C # orVisual Basic.
The two parts are connected by data link, events and commands.
The separation of appearance and behavior has the following advantages:

A-Look and loosely coupled
2-designers and developers can work on separate forms.
3-L’Outils graphics can work on simple XML documents instead of analyzing the code.


rich composition

Controls in WPF are extremely composable. You can définirpratiquement any type ofcontrol that the content of another. Although stop horrible flexibility to designers, it is avery powerful if you use appropriate. Put a picture in a button to create a buttonimage, or to a list of videos in a combobox to select a video file.

<StackPanel Orientation= »Horizontal »>
<Image Source= »wpfbutton.png » Stretch= »Uniform »/>
<TextBlock Text= »Play Sound » />
it will display this:
Highly customizable: Because of the strict separation of appearance and behavior you can easily change the appearance of control. The concept of styles you can change the appearance control almost like CSS in HTML. Templates allow you to change the entire look of a contrôle.L following example shows a default button in a WPF custom button.

Resolution of independence, all the measures in WPF are logical units – no pixels. Aunitélogique is a 1 / 96 of an inch. If you increase the resolution of your screen, the user interface remain the same size. DepuisWPF based on a vector rendering engine is incredibly easy to build scalable user interfaces.

So to conclude this article is just a quick overview, I would say that WPF is the future of desktop application development at Microsoft.

By Khalil master from

Traduct by elmagnif.


3 thoughts on “Introduction to Windows Presentation Fondation

  1. Bradley Mette

    I simply want to tell you that I am just all new to blogging and site-building and certainly liked you’re web-site. Likely I’m likely to bookmark your site . You really have excellent article content. Thank you for sharing with us your web-site.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.