Wednesday, November 6, 2013

WPF Tutorial Part 1 - Introduction to WPF

WPF is the official successor of the Windows Forms platform.
For long I detracted from it, but now I want to publish some posts about using WPF.

WPF stands for Windows Presentation Foundation and is a powerful platform for creating
graphically impressive applications.
Core is a resolution independent, vector based engine, which fully uses modern hardware.
A nice sample application can be found on the MSDN homepage:


An essential difference to Windows Forms is the more strict separation of layout and code behind.
WPF uses XAML for designing the surface of the program, an on
XML based descriptive language.
With this the layout of the application can be described and determined.
It can also be changed as previously in the Designer still.

With WPF the appearance of the application, of controls etc. can be customized much more, for example can ellipses be interpreted as buttons, own controls be created more easily and and and.

Furthermore WPF supports by default many graphic operations, like 3-D rendering.

Another useful property of WPF is databinding, with that controls are directly linked
to data classes.

In the next post I will show the creation of a first WPF application.

I want to note, that this introduction will really be very brief and rudimentary.
Elsewhere there are much more in-depth versions, for example on MSDN there is a lot of content
regarding this topic.

On Udo's Blog there is a music player as a WPF application.

No comments:

Post a Comment