diff --git a/src/Core/src/Platform/Windows/ContentPanel.cs b/src/Core/src/Platform/Windows/ContentPanel.cs index 0e30c98bb21c..fd126e1d38c5 100644 --- a/src/Core/src/Platform/Windows/ContentPanel.cs +++ b/src/Core/src/Platform/Windows/ContentPanel.cs @@ -72,7 +72,6 @@ public void UpdateBackground(Paint? background) return; _borderPath.Fill = background?.ToNative(); - _borderPath.Visibility = background != null ? UI.Xaml.Visibility.Visible : UI.Xaml.Visibility.Collapsed; } public void UpdateStroke(Paint borderBrush)