diff --git a/XamlControlsGallery/FluentWindow.cs b/XamlControlsGallery/FluentWindow.cs index ce406a3..06fe52a 100644 --- a/XamlControlsGallery/FluentWindow.cs +++ b/XamlControlsGallery/FluentWindow.cs @@ -31,6 +31,7 @@ namespace Avalonia.Controls if (!x) { SystemDecorations = SystemDecorations.BorderOnly; + TransparencyLevelHint = WindowTransparencyLevel.Blur; } }); } @@ -38,7 +39,7 @@ namespace Avalonia.Controls protected override void OnApplyTemplate(TemplateAppliedEventArgs e) { base.OnApplyTemplate(e); - ExtendClientAreaChromeHints = ExtendClientAreaChromeHints.ManagedChromeButtons; + ExtendClientAreaChromeHints = ExtendClientAreaChromeHints.SystemChromeButtons; } } }