Fendy K
Fendy K

Reputation: 13

How to change background color on textbox xaml from app.xaml

I have created a Windows Phone app using C# and XAML.

Now I want to change the background-color on my textbox if it GotFocus. How can I trigger that from app.xaml? I want to code once so that it can be implemented in all of my textboxes.

I have tried using VisualState, but I don't know how to use it

Upvotes: 0

Views: 974

Answers (1)

JBrian
JBrian

Reputation: 31

have you checked this question? I think you have the same problem

changing background color of container when textbox is in focus

Upvotes: 1

Related Questions