WPF doesn\'t provide the ability to have a window that allows resize but doesn\'t have maximize or minimize buttons. I\'d like to able to make such a window so I can have re
Here's a solution I'm using. Note that maximize button is still displayed.
Markup:
Code behind:
// Disable maximizing this window private void Window_StateChanged(object sender, EventArgs e) { if (this.WindowState == WindowState.Maximized) this.WindowState = WindowState.Normal; }