title: How to override the maximized event of an UWP app
body: <p>My UWP app is a fullscreen app. And when I click the app Window, then its Top-Right corner icon will be shown as in the first picture below.</p>
  
  <p>When I drag the app Window, then it will become like the 2nd picture below.</p>
  
  <p>For the 2nd picture, when I click the maximized icon, it cannot turn back to fullscreen mode. And I hope to override the method(event handler), so that I can add codes to change to fullscreen mode.</p>
  
  <p>Is it possible and how?
  Thanks!</p>
  
  <p><a href="https://i.stack.imgur.com/dRmgX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dRmgX.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/1eDOS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1eDOS.png" alt="enter image description here"></a></p>