Skip to content

Commit

Permalink
[WinUI] Change Titlebar colors
Browse files Browse the repository at this point in the history
  • Loading branch information
mhrastegari committed Feb 14, 2023
1 parent c63f9cc commit 585f099
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Platforms/Windows/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,13 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:maui="using:Microsoft.Maui"
xmlns:local="using:MauiBlazorUIBestPractices.WinUI">

<maui:MauiWinUIApplication.Resources>
<ResourceDictionary>
<SolidColorBrush x:Key="WindowCaptionForeground">#ffffff</SolidColorBrush>
<SolidColorBrush x:Key="WindowCaptionBackground">#04173D</SolidColorBrush>
<SolidColorBrush x:Key="WindowCaptionForegroundDisabled">#ffffff</SolidColorBrush>
<SolidColorBrush x:Key="WindowCaptionBackgroundDisabled">#04173D</SolidColorBrush>
</ResourceDictionary>
</maui:MauiWinUIApplication.Resources>
</maui:MauiWinUIApplication>

0 comments on commit 585f099

Please sign in to comment.