From e5d2903e9b01be5beaf460f45c37aae410b9f4bb Mon Sep 17 00:00:00 2001 From: Yimeng Wu Date: Wed, 13 Dec 2023 23:40:58 +0000 Subject: [PATCH] Port microsoft/microsoft-ui-xaml#4817 (#650) --- ModernWpf.Controls/CommandBar/CommandBar.xaml | 318 +++++++++++++++++- ModernWpf/Styles/CornerRadius.xaml | 10 + ModernWpf/ThemeResources/Dark.xaml | 2 + ModernWpf/ThemeResources/HighContrast.xaml | 2 + ModernWpf/ThemeResources/Light.xaml | 2 + test/ModernWpfTestApp/CommandBarPage.xaml | 39 +++ 6 files changed, 356 insertions(+), 17 deletions(-) create mode 100644 ModernWpf/Styles/CornerRadius.xaml diff --git a/ModernWpf.Controls/CommandBar/CommandBar.xaml b/ModernWpf.Controls/CommandBar/CommandBar.xaml index 2dc6bd31..425f35d5 100644 --- a/ModernWpf.Controls/CommandBar/CommandBar.xaml +++ b/ModernWpf.Controls/CommandBar/CommandBar.xaml @@ -5,6 +5,10 @@ xmlns:primitives="clr-namespace:ModernWpf.Controls.Primitives" xmlns:ui="http://schemas.modernwpf.com/2019"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +