I tried setting WindowStyle="None"
in XAML but that makes the Window completely borderless. I need a Window that does not have a title bar, which prevent user from moving it. But still has border so it still looks like a Window :)
The title bar is the area at the top of a window and it contains items such as the close/minimize/maximize buttons, and the name of the application that is open. Borders. The borders are the frames around the edge of the window. These consist of the top, bottom, right and left sides of the window.
Title bars contain at least three small buttons that minimize, maximize or restore, and close the window associated with the title bar. Title bars also contain a context-sensitive Help button.
A title bar is a graphical user interface (GUI) component of a software application or Web page. It holds related metadata and is used to define the name of a window, software or visible interface. A title bar is also known as a titlebar.
WindowStyle="None"
does not remove the border by default, you must allow resizing (ResizeMode
= CanResize
/ CanResizeWithGrip
) and forbid transparency (AllowsTransparency="False"
) though as far as i know.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With