wpfwindow-chrome

WPF WindowChrome Fill / Foreground Color


I am currently trying to keep all the Windows 11 features like the docking preview while still customizing a windows title bar.
I figured that using WindowChrome is my best bet(?)

<WindowChrome.WindowChrome>
    <WindowChrome ResizeBorderThickness="3"
                  GlassFrameThickness="30" />
</WindowChrome.WindowChrome>

But that unfortunately gets rid of the foreground color of the title bar.
I mean - the buttons are still there, but the window title & control button icons are transparent.

Is this the wrong approach? Would there be an easy solution for this? I would like to avoid making a completely custom title bar because of mentioned reasons.


Solution

  • For the future people with a similar question:
    @AZ Software could provide me the necessary docs I was looking for: