diff options
author | Paul DiPietro <pauldipietro@users.noreply.github.com> | 2017-05-26 06:09:00 -0500 |
---|---|---|
committer | Rui Marinho <me@ruimarinho.net> | 2017-05-26 12:09:00 +0100 |
commit | a9a6a40c67bf52012f46a2809dd98ad0571b48b9 (patch) | |
tree | 79b63371d717b43c19fb20ab856d071580ddd89b /Xamarin.Forms.Platform.UAP/FormsTextBoxStyle.xaml | |
parent | c066aa89715117eeb5d345b3d858986548bf6098 (diff) | |
download | xamarin-forms-a9a6a40c67bf52012f46a2809dd98ad0571b48b9.tar.gz xamarin-forms-a9a6a40c67bf52012f46a2809dd98ad0571b48b9.tar.bz2 xamarin-forms-a9a6a40c67bf52012f46a2809dd98ad0571b48b9.zip |
[UWP] Respect TextBox BackgroundFocusBrush Effect (#928)
Diffstat (limited to 'Xamarin.Forms.Platform.UAP/FormsTextBoxStyle.xaml')
-rw-r--r-- | Xamarin.Forms.Platform.UAP/FormsTextBoxStyle.xaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.UAP/FormsTextBoxStyle.xaml b/Xamarin.Forms.Platform.UAP/FormsTextBoxStyle.xaml index 4ab9bb00..f38a9b91 100644 --- a/Xamarin.Forms.Platform.UAP/FormsTextBoxStyle.xaml +++ b/Xamarin.Forms.Platform.UAP/FormsTextBoxStyle.xaml @@ -132,6 +132,11 @@ <DiscreteObjectKeyFrame KeyTime="0" Value="{Binding BackgroundFocusBrush, RelativeSource={RelativeSource TemplatedParent}}" /> </ObjectAnimationUsingKeyFrames> + <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" + Storyboard.TargetName="BorderElement"> + <DiscreteObjectKeyFrame KeyTime="0" + Value="{Binding BackgroundFocusBrush, RelativeSource={RelativeSource TemplatedParent}}" /> + </ObjectAnimationUsingKeyFrames> <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundElement"> <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextControlBackgroundFocusedOpacity}" /> </ObjectAnimationUsingKeyFrames> |