diff --git a/dev/NavigationView/NavigationView_rs1_themeresources.xaml b/dev/NavigationView/NavigationView_rs1_themeresources.xaml index 4c1d80a49c..20f5024a7b 100644 --- a/dev/NavigationView/NavigationView_rs1_themeresources.xaml +++ b/dev/NavigationView/NavigationView_rs1_themeresources.xaml @@ -1,4 +1,4 @@ - + - diff --git a/dev/NavigationView/TestUI/NavigationViewCaseBundle.xaml b/dev/NavigationView/TestUI/NavigationViewCaseBundle.xaml index aa344ca01c..77cdfc8686 100644 --- a/dev/NavigationView/TestUI/NavigationViewCaseBundle.xaml +++ b/dev/NavigationView/TestUI/NavigationViewCaseBundle.xaml @@ -27,6 +27,7 @@ + diff --git a/dev/NavigationView/TestUI/NavigationViewCaseBundle.xaml.cs b/dev/NavigationView/TestUI/NavigationViewCaseBundle.xaml.cs index 93ca587a91..2b96057b16 100644 --- a/dev/NavigationView/TestUI/NavigationViewCaseBundle.xaml.cs +++ b/dev/NavigationView/TestUI/NavigationViewCaseBundle.xaml.cs @@ -34,6 +34,7 @@ public NavigationViewCaseBundle() NavigateToMinimalPage.Click += delegate { Frame.NavigateWithoutAnimation(typeof(NavigationViewMinimalPage), 0); }; NavigateToCustomThemeResourcesPage.Click += delegate { Frame.NavigateWithoutAnimation(typeof(NavigationViewCustomThemeResourcesPage), 0); }; NavigationViewBlankPage1.Click += delegate { Frame.NavigateWithoutAnimation(typeof(NavigationViewBlankPage1), 0); }; + NavigationViewMenuItemStretchPageButton.Click += delegate { Frame.NavigateWithoutAnimation(typeof(NavigationViewMenuItemStretchPage), 0); }; } } } diff --git a/dev/NavigationView/TestUI/NavigationViewMenuItemStretchPage.xaml b/dev/NavigationView/TestUI/NavigationViewMenuItemStretchPage.xaml new file mode 100644 index 0000000000..93e2d8abae --- /dev/null +++ b/dev/NavigationView/TestUI/NavigationViewMenuItemStretchPage.xaml @@ -0,0 +1,40 @@ + + + + + + + + + Center + + + + + Left + + + + + Right + + + + + Stretch + + + + + + + diff --git a/dev/NavigationView/TestUI/NavigationViewMenuItemStretchPage.xaml.cs b/dev/NavigationView/TestUI/NavigationViewMenuItemStretchPage.xaml.cs new file mode 100644 index 0000000000..1c07ea8c6f --- /dev/null +++ b/dev/NavigationView/TestUI/NavigationViewMenuItemStretchPage.xaml.cs @@ -0,0 +1,13 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace MUXControlsTestApp +{ + public sealed partial class NavigationViewMenuItemStretchPage : TestPage + { + public NavigationViewMenuItemStretchPage() + { + this.InitializeComponent(); + } + } +} diff --git a/dev/NavigationView/TestUI/NavigationView_TestUI.projitems b/dev/NavigationView/TestUI/NavigationView_TestUI.projitems index 4ef55a8c76..4a01a130f9 100644 --- a/dev/NavigationView/TestUI/NavigationView_TestUI.projitems +++ b/dev/NavigationView/TestUI/NavigationView_TestUI.projitems @@ -1,4 +1,4 @@ - + @@ -26,6 +26,10 @@ Designer MSBuild:Compile + + Designer + MSBuild:Compile + Designer MSBuild:Compile @@ -92,8 +96,9 @@ NavigationViewIsPaneOpenPage.xaml + - NavigationViewMinimalPage.xaml + NavigationViewMinimalPage.xaml NavigationViewStretchPage.xaml @@ -132,4 +137,9 @@ NavigationViewTopNavStorePage.xaml + + + NavigationViewMenuItemStretchPage.xaml + + \ No newline at end of file