summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul DiPietro <pauldipietro@users.noreply.github.com>2017-03-07 03:56:54 -0600
committerRui Marinho <me@ruimarinho.net>2017-03-07 09:56:54 +0000
commit98fe88099c150cf9626058051f8ffa8d5bb4f8bf (patch)
tree3d8798112b24a925f8639c8d874d4c799b6ffaa1
parent93fc5532236f22e944a00aea0962bb4e3ab2dc9b (diff)
downloadxamarin-forms-98fe88099c150cf9626058051f8ffa8d5bb4f8bf.tar.gz
xamarin-forms-98fe88099c150cf9626058051f8ffa8d5bb4f8bf.tar.bz2
xamarin-forms-98fe88099c150cf9626058051f8ffa8d5bb4f8bf.zip
[UWP] Adjust AutoSuggestBox's TextBoxStyle style name to prevent possible crash (#774)
-rw-r--r--Xamarin.Forms.Platform.UAP/AutoSuggestStyle.xaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.UAP/AutoSuggestStyle.xaml b/Xamarin.Forms.Platform.UAP/AutoSuggestStyle.xaml
index 3c85a01f..75609c97 100644
--- a/Xamarin.Forms.Platform.UAP/AutoSuggestStyle.xaml
+++ b/Xamarin.Forms.Platform.UAP/AutoSuggestStyle.xaml
@@ -7,7 +7,7 @@
<Style TargetType="AutoSuggestBox">
<Setter Property="VerticalAlignment" Value="Top" />
<Setter Property="IsTabStop" Value="False" />
- <Setter Property="TextBoxStyle" Value="{StaticResource AutoSuggestBoxTextBoxStyle}" />
+ <Setter Property="TextBoxStyle" Value="{StaticResource AutoSuggestBoxFormsTextBoxStyle}" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="AutoSuggestBox">
@@ -58,7 +58,7 @@
</Setter>
</Style>
- <Style TargetType="uwp:FormsTextBox" x:Key="AutoSuggestBoxTextBoxStyle">
+ <Style TargetType="uwp:FormsTextBox" x:Key="AutoSuggestBoxFormsTextBoxStyle">
<Setter Property="MinWidth" Value="{ThemeResource TextControlThemeMinWidth}" />
<Setter Property="MinHeight" Value="{ThemeResource TextControlThemeMinHeight}" />
<Setter Property="Foreground" Value="{ThemeResource SystemControlForegroundBaseHighBrush}" />