Getting to know Windows Presentation Foundation (or WPF)

Until now,we were making Console Applications (output coming up on the black console window). Now let’s move ahead and explore WPF (Windows presentation Foundation).

Create a project and you can see multiple files created by Visual Studio itself. You can see the file list in Solution Explorer.

In addition to C#, we will need to learn some XAML here. XAML is a markup language something similar to HTML. We will go to that later.

You will have the following files in addition to other files

MainWindow.xaml  (This is your interface which will have many wpf controls)

MainWindow.xaml.cs (This is where your code should be)



Now you write your code.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s