15

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.

H.B.
  • 166,899
  • 29
  • 327
  • 400
Ondrej Janacek
  • 12,486
  • 14
  • 59
  • 93

1 Answers1

19

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

Ondrej Janacek
  • 12,486
  • 14
  • 59
  • 93
Maurizio Reginelli
  • 3,152
  • 2
  • 27
  • 41