How to hide close button in wpf window?
Posted
by Michael Hedgpeth
on Stack Overflow
See other posts from Stack Overflow
or by Michael Hedgpeth
Published on 2009-04-13T13:39:08Z
Indexed on
2010/04/11
1:03 UTC
Read the original article
Hit count: 918
wpf
I'm writing a modal dialog in wpf. How do I set a wpf window to not have a close button? I'd still like for its WindowState to have a normal title bar.
I found ResizeMode, WindowState, and WindowStyle, but none of those properties allow me to hide the close button but show the title bar, as in modal dialogs.
© Stack Overflow or respective owner