Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Minimize window with NoResize mode on

I have a WPF application, where Window property ResizeMode is set on NoResize. Hence maximize and minimize button is hidden.

Is there a way to add minimize button? Because I don't want to allow user just resize window in order to not deform controls on form. But minimize window is useful function.

like image 734
Ondrej Janacek Avatar asked Jan 28 '12 21:01

Ondrej Janacek


1 Answers

Set ResizeMode="CanMinimize". This avoids window resizing and enables minimize button.

like image 143
Maurizio Reginelli Avatar answered Nov 10 '22 00:11

Maurizio Reginelli