Close full application click on a button using WPF.

Total Post:117

Points:821
WPF 
WPF
 1288  View(s)
Ratings:
Rate this:
How to close all active windows in click on a button?

  1. Post:100

    Points:700
    Re: Close full application click on a button using WPF.

    Try the below line of code in button click event for close your full application:-

    Application.Current.Shutdown();

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!