Working With Windows Based desktop Applications in WPF

Ratings:
(4)
Views:0
Banner-Img
  • Share this blog:

Working With Windows Based Desktop Applications

  Creating WPF applications

       ↓

Go to visual studio.net

       

Click on file

       

Click on new

       

Select visual CH from project types

       

Select WPF application template

       

Type WPF application name

       

Choose the location to save

   

Click on ok   The container in the WPF application is known as window The container names we get as window1, window2, window3, ---etc by default. Every window will have a default extension of.XAML.XAML file will contain the design part of the window also we find an additional file with the extension of .xaml.cs which will contain completely a programming code. This is similar to webpage design Complete class library of WPF is available “System windows namespace” Window we create within the WPF application a class and window1, window2, window3, etc are inherited form window class by default  

 

Interested in mastering VB.Net Training? Enroll now for FREE demo on "VB.Net Training"

 

Methods with the window class

  1. Show ()
  2. Hide()
  3. Activate()
  4. Close

 

  1. Hide():-
    • This method is used to hide the displayed window from the user.
  2. Show():-
    • This method is used to display the window object to the class
  3. Activate():-
    • This method is used to make any window as active
  4. Close():
    • This method is used to close. The open window when a window is closed, the object it's associated with is destroyed and if we want to reuse that window, we have to recreate that object In general any control we create within the window will maintain hierarchy like.

  2    

You liked the article?

Like : 0

Vote for difficulty

Current difficulty (Avg): Medium

Recommended Courses

1/15

About Author
Authorlogo
Name
TekSlate
Author Bio

TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.


Stay Updated


Get stories of change makers and innovators from the startup ecosystem in your inbox