Articles → WPF → Creating Your First WPF Application

Creating Your First WPF Application









  1. You can create a WPF windows application.
  2. You can add controls in the application form




  1. Open Visual Studio 2008.
  2. Go to File menu option and click New Project.
  3. New Project window will be opened.
  4. In the Visual Studio Installed Templates select WPF application.
  5. Picture showing selecting the WPF application from the visual studio installed project templates
    Click to Enlarge

  6. Enter the information like Name, Location and Solution name.
  7. Click Ok.






  1. Click on View menu.
  2. Click on Toolbox.


Picture showing the toolbar for adding the controls in the designer screen
Click to Enlarge





Picture showing the messagebox code on button click
Click to Enlarge





Picture showing message box when a button is clicked in the WPF application
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Thursday, April 15, 2010
 
Updated On  -  Monday, March 9, 2020

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250