This question is locked. New answers and comments are not allowed.
In visual state Pressed i've found
Usually when someone forces light/dark theme he overrides Brushes not colors (of course you can do this, but it takes more time, and ususlly there is no need).
In this case it would be more correct to use PhoneTextBoxEditBackgroundBrush instead of
PhoneTextBoxEditBackgroundColor
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetName
=
"border"
Storyboard.TargetProperty
=
"Background"
Duration
=
"0"
>
<
DiscreteObjectKeyFrame
Value
=
"{StaticResource PhoneTextBoxEditBackgroundColor}"
KeyTime
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
Usually when someone forces light/dark theme he overrides Brushes not colors (of course you can do this, but it takes more time, and ususlly there is no need).
In this case it would be more correct to use PhoneTextBoxEditBackgroundBrush instead of
PhoneTextBoxEditBackgroundColor