From 2f468b7c3870617c674ee5e55f2093437999176d Mon Sep 17 00:00:00 2001 From: Yimeng Wu Date: Fri, 17 Apr 2020 16:39:17 +0800 Subject: [PATCH] Apply the nested Storyboard workaround to more controls --- .../CommandBarFlyout/CommandBarFlyout.xaml | 269 +++++++++--------- .../ContentDialog/ContentDialog.xaml | 87 +++--- ModernWpf/ProgressBar/ProgressBar.xaml | 41 +-- 3 files changed, 208 insertions(+), 189 deletions(-) diff --git a/ModernWpf.Controls/CommandBarFlyout/CommandBarFlyout.xaml b/ModernWpf.Controls/CommandBarFlyout/CommandBarFlyout.xaml index 38bba56c..c9a11f65 100644 --- a/ModernWpf.Controls/CommandBarFlyout/CommandBarFlyout.xaml +++ b/ModernWpf.Controls/CommandBarFlyout/CommandBarFlyout.xaml @@ -542,138 +542,147 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + diff --git a/ModernWpf.Controls/ContentDialog/ContentDialog.xaml b/ModernWpf.Controls/ContentDialog/ContentDialog.xaml index 36826322..c6629f3f 100644 --- a/ModernWpf.Controls/ContentDialog/ContentDialog.xaml +++ b/ModernWpf.Controls/ContentDialog/ContentDialog.xaml @@ -25,51 +25,56 @@ - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + diff --git a/ModernWpf/ProgressBar/ProgressBar.xaml b/ModernWpf/ProgressBar/ProgressBar.xaml index c146df83..5cfdbc4e 100644 --- a/ModernWpf/ProgressBar/ProgressBar.xaml +++ b/ModernWpf/ProgressBar/ProgressBar.xaml @@ -28,14 +28,15 @@ SnapsToDevicePixels="True"> - - - - + + + + + + + - + @@ -161,21 +162,25 @@ - - + + - + + + - - + + - - + + + +