From 31ca62bb0e37b088f09b7953cf5958d2af3fa718 Mon Sep 17 00:00:00 2001 From: Vsevolod Date: Mon, 14 Dec 2020 14:24:08 -0800 Subject: [PATCH] Add support for Content Alignment inside AutoSuggestBox (#3383) * Add content alignment support * Remove test from PR, add defalt alignment parameters * Add content alignment support to default textbox template * Update verification files * Update Vertificatin files * Update verification files * Remove unnecessary ver file --- .../AutoSuggestBox_themeresources.xaml | 6 + dev/CommonStyles/TextBox_themeresources.xaml | 4 + .../verification/AppBarToggleButton-4.xml | 18 +- .../verification/AppBarToggleButton-5.xml | 161 ++++++++++++++++++ .../NavigationViewLeftPaneContent-4.xml | 12 +- .../NavigationViewLeftPaneContent-7.xml | 12 +- .../NavigationViewLeftPaneContent-8.xml | 12 +- .../NavigationViewTopPaneContent-4.xml | 12 +- .../NavigationViewTopPaneContent-7.xml | 12 +- .../NavigationViewTopPaneContent-8.xml | 12 +- .../verification/TextBox-4.xml | 12 +- .../verification/TextBox-5.xml | 12 +- .../verification/TextBox-7.xml | 12 +- 13 files changed, 234 insertions(+), 63 deletions(-) create mode 100644 test/MUXControlsTestApp/verification/AppBarToggleButton-5.xml diff --git a/dev/AutoSuggestBox/AutoSuggestBox_themeresources.xaml b/dev/AutoSuggestBox/AutoSuggestBox_themeresources.xaml index 2949ac5870..06bd95bf6d 100644 --- a/dev/AutoSuggestBox/AutoSuggestBox_themeresources.xaml +++ b/dev/AutoSuggestBox/AutoSuggestBox_themeresources.xaml @@ -315,6 +315,8 @@ IsHorizontalRailEnabled="{TemplateBinding ScrollViewer.IsHorizontalRailEnabled}" IsVerticalRailEnabled="{TemplateBinding ScrollViewer.IsVerticalRailEnabled}" IsDeferredScrollingEnabled="{TemplateBinding ScrollViewer.IsDeferredScrollingEnabled}" + VerticalAlignment="{TemplateBinding VerticalContentAlignment}" + HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}" IsTabStop="False" @@ -372,6 +374,8 @@