---
title: "Close full application click on a button using WPF."  
description: "Close full application click on a button using WPF."  
author: "Anonymous User"  
published: 2013-07-19  
updated: 2013-07-19  
canonical: https://www.mindstick.com/forum/1332/close-full-application-click-on-a-button-using-wpf  
category: "wpf"  
tags: ["wpf"]  
reading_time: 1 minute  

---

# Close full application click on a button using WPF.

How to [close](https://yourviews.mindstick.com/story/1687/rubbing-hands-close-up-benefits) all [active](https://answers.mindstick.com/qa/97113/why-does-an-active-ftp-not-work-with-network-firewalls) [windows](https://www.mindstick.com/articles/311752/how-to-install-and-use-the-google-wifi-software-on-a-windows-or-mac-computer) in [click](https://www.mindstick.com/articles/12423/social-login-magento-2-one-click-to-register-social) on a [button](https://www.mindstick.com/articles/63/how-to-add-button-in-datagridview-in-csharp-dot-net)?

##

## Replies

### Reply by Vijay Shukla

Try the below line of code in button click event for close your full application:-

Application.Current.Shutdown();


---

Original Source: https://www.mindstick.com/forum/1332/close-full-application-click-on-a-button-using-wpf

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
