Alex DG
Alex DG

Reputation: 107

WPF - Customizing title bar - uptodate solution

I love WPF but I'm in trouble.

Everything is very customizable but I didn't found anything valid for personalizing title Bar and Application borders.

I've understand that isn't possible to customize it directly because it's Windows that manage that, but otherwise I didn't found any valid solutions...

The only results that show up from google are using WindowChrome, but I think it's a VERY outdated solution.

Otherwise I only found THIS code snippet, but it is (for me, at least) a bit complicated to understand fully. Also, I've tried it but it doesn't allow to do some actions, like move window when maximized, but a lot of application (done in WPF) that I saw daily are able to do that.

In final word I can't find anything good.

I think WPF is very used even today, and I really don't understand how they do good looking solutions, that doesn't involve using a 2009 library.

Upvotes: 0

Views: 178

Answers (1)

Tanveer Badar
Tanveer Badar

Reputation: 5523

You should get started with the docs. That sample you linked to will make more sense after that.

Basically, you are asking OS that you own the entire region and will take care of ensuring everything continues to behave as expected.

Upvotes: 1

Related Questions