WindowChrome - Can't click buttons in titlebar

后端 未结 2 1107
一向
一向 2021-01-15 12:42

I have a custom WindowChrome style for my WPF app (ripped from here: http://www.bdevuyst.com/wpf-custom-title-bar-and-taskbar/).

Code here:



        
2条回答
  •  清酒与你
    2021-01-15 13:33

    Small addition to the correct answer. If you have something like:

    And your buttons do not react to clicks - just REMOVE "shell:"

    This will make them work

提交回复
热议问题