From 44a8836c9502069bd56214a7bcfcae99702aff34 Mon Sep 17 00:00:00 2001 From: Yimeng Wu Date: Sat, 21 Oct 2023 22:26:02 +0100 Subject: [PATCH] Port microsoft/microsoft-ui-xaml#4162 (#579) --- .../CommandBarFlyout/CommandBarFlyout.xaml | 22 +++++-------- ModernWpf/Styles/Calendar.xaml | 16 ++++----- ModernWpf/Styles/ComboBox.xaml | 33 +++++++++---------- 3 files changed, 31 insertions(+), 40 deletions(-) diff --git a/ModernWpf.Controls/CommandBarFlyout/CommandBarFlyout.xaml b/ModernWpf.Controls/CommandBarFlyout/CommandBarFlyout.xaml index 50e73001..320eb769 100644 --- a/ModernWpf.Controls/CommandBarFlyout/CommandBarFlyout.xaml +++ b/ModernWpf.Controls/CommandBarFlyout/CommandBarFlyout.xaml @@ -472,6 +472,8 @@ x:Name="LayoutRoot" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}" + BorderBrush="{TemplateBinding BorderBrush}" + BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="{TemplateBinding CornerRadius}" SnapsToDevicePixels="True"> @@ -481,19 +483,13 @@ - - - - + diff --git a/ModernWpf/Styles/Calendar.xaml b/ModernWpf/Styles/Calendar.xaml index f480c443..9f4d47c4 100644 --- a/ModernWpf/Styles/Calendar.xaml +++ b/ModernWpf/Styles/Calendar.xaml @@ -53,17 +53,15 @@ - - - + diff --git a/ModernWpf/Styles/ComboBox.xaml b/ModernWpf/Styles/ComboBox.xaml index 35d9cca4..1ea5a1e2 100644 --- a/ModernWpf/Styles/ComboBox.xaml +++ b/ModernWpf/Styles/ComboBox.xaml @@ -471,26 +471,23 @@ - - - - - + + +