0

How to set a background color of stackpanel(grid or border) using visualstate when it is pressed in Windows Phone 7?

1 Answers1

0

By tags I can see you're familiar with VisualStates. StackPanel doesn't have VisualStates. You want it to behave like a button - so set your StackPanel as the content of the Button and manage VisualStates of the Button.

lisp
  • 4,138
  • 2
  • 26
  • 43