summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.UAP/FormsTextBoxStyle.xaml
diff options
context:
space:
mode:
authorPaul DiPietro <pauldipietro@users.noreply.github.com>2017-05-26 06:09:00 -0500
committerRui Marinho <me@ruimarinho.net>2017-05-26 12:09:00 +0100
commita9a6a40c67bf52012f46a2809dd98ad0571b48b9 (patch)
tree79b63371d717b43c19fb20ab856d071580ddd89b /Xamarin.Forms.Platform.UAP/FormsTextBoxStyle.xaml
parentc066aa89715117eeb5d345b3d858986548bf6098 (diff)
downloadxamarin-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.xaml5
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>