0

I am using the official Windows Phone 7 SketchFlow template, based on the Windows Phone SDK. Is there any way to detect when the user has clicked the landscape orientation button in the player, and act accordingly? Specifically, I'd like to display completely different views depending on orientation. Thank you!

Chris Long
  • 3,007
  • 4
  • 30
  • 37

1 Answers1

2

It looks like the portrait and landscape functionality is implemented with visual states. If you select the correct visual state and make your changes (such as showing different controls) it should work the way you want.

Chuck Hays
  • 1,194
  • 1
  • 6
  • 7
  • Works perfectly! To have a completely different view, you have to set the opacity of existing controls to 0. Thank you! – Chris Long May 21 '12 at 20:16