© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
3 replies
Tueem

❔ WPF can't remove some kind of window title hitbox

So I've got this screenshot window which should basically be exactly like the Windows snipping tool and not expose any sort of window control except the ones I specify.

XAML Code: https://pastebin.com/Wyxi1H63

As you can see I've done
WindowStyle=None
WindowStyle=None
and the WindowChrome stuff.
But for some reason there is still some kind of title bar left that changes the type of cursor, enables me to drag the window and on right click shows me this weird context menu. (as seen in the attachment video)
Basically I just want to disable that completely while simultaneously preserving all window functions like key events.
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

WPF Window Navigation
C#CC# / help
13mo ago
❔ wpf custom window
C#CC# / help
3y ago
WPF window doesn't render after opening
C#CC# / help
3y ago