From fd718cf11ad639dcfe27ae47e40cb1680e8117b2 Mon Sep 17 00:00:00 2001 From: Yimeng Wu Date: Mon, 27 Jul 2020 02:06:50 +0800 Subject: [PATCH] NavigationView: Add more theme resources to configure margins (microsoft/microsoft-ui-xaml#2923) --- ModernWpf.Controls/NavigationView/NavigationView.xaml | 10 +++++++++- ModernWpf/Styles/NavigationView.xaml | 4 ++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ModernWpf.Controls/NavigationView/NavigationView.xaml b/ModernWpf.Controls/NavigationView/NavigationView.xaml index db61a7a8..dfa77556 100644 --- a/ModernWpf.Controls/NavigationView/NavigationView.xaml +++ b/ModernWpf.Controls/NavigationView/NavigationView.xaml @@ -1132,6 +1132,7 @@ x:Name="TopNavOverflowButton" Grid.Column="4" Content="More" + Margin="{DynamicResource TopNavigationViewOverflowButtonMargin}" Style="{StaticResource NavigationViewOverflowButtonStyleWhenPaneOnTop}" Visibility="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.OverflowButtonVisibility}"> @@ -1175,7 +1176,7 @@ + @@ -1443,6 +1445,9 @@ --> + + + @@ -1454,6 +1459,9 @@