title: Easier way in .net Avalonia to change the background color of the Window's System Top bar?
body: <p>In dotnet's <a href="https://avaloniaui.net/" rel="nofollow noreferrer">Avalonia-UI</a> framework.
  I'm using a dark UI and I managed to make everything dark as per <a href="https://github.com/AvaloniaUI/Avalonia/pull/2078" rel="nofollow noreferrer">this example</a> but one thing: the window's System top bar in Windows OS.</p>
  <p>I have seen in <a href="https://github.com/AvaloniaUI/Avalonia/issues/776" rel="nofollow noreferrer">this issue in github</a> that I can set the property <code>HasSystemDecorations=&quot;false&quot;</code> to make it go away, but then I would have to implement myself the top bar with the drag functionality, title, close, maximize, minimize, etc, which is a pain when all I want is to change the background color.</p>
  <p>What would be the easier way to make the window top bar change to a dark background color?</p>
  <p>If the only way is using <code>HasSystemDecorations</code> then what would be the minimal example to implement the dark top bar with the common funcionality to close/minimize/maximize/drag?</p>