IvanaGyro
IvanaGyro

Reputation: 642

WPF: How to make native windows control button with custom window?

I had to change the color and icon of the title bar, so I used custom window. But in this way, I have to create my own window control buttons(minimize, maximize, restore, close). I want to use the native ones like the thing that Microsoft Office and Google Chrome did. How should I do?

Office

enter image description here

Chrome

enter image description here

Upvotes: 3

Views: 2217

Answers (1)

mm8
mm8

Reputation: 169190

There is no easy way to just use the default chrome buttons as-is in a custom window I am afraid.

But you could quite easily create your own ones using the Segoe MDL2 Assets font:

What is the font family of the close/minimize/reduce button in Windows 10?

Show default window buttons on WPF Window using WindowChrome

Upvotes: 3

Related Questions