如何防止一个窗口,最小化? [英] How to prevent a window from minimizing?
本文介绍了如何防止一个窗口,最小化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我怎样才能防止WPF窗口从最小化时显示桌面按钮,用户点击
How can I prevent WPF window from minimizing when users clicks on show desktop button?
推荐答案
这个链接会帮助你? 获取最小化WPF窗口中点击< 。/ A>
This link will help you : Get the minimize box click of a WPF window
您需要捕捉该事件并自己处理
you need to catch the event and handle it yourself.
编辑:此方法将提醒你一旦状态被改变,因此,它可能不是最好的解决方案,但它可以工作
Edit : This method will alert you once the state is changed, so it might not be the "best" solution but it could work.
这篇关于如何防止一个窗口,最小化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文