Detecting orientation events in Windows Phone
The article How to: Handle Orientation Changes on Windows Phone explains how to specify supported orientations and react to orientation changes in Windows Phone 7.
See Also
Article Metadata
Tested with
Devices(s): Windows Phone Emulator
Compatibility
Platform(s): Windows Phone 7.5
Article
Created: girishpadia
(14 Oct 2011)
Last edited: hamishwillee
(10 Apr 2013)


Hamishwillee - I have deleted most of the content and replaced with a link
Hi Girish
I have replaced most of the content you had with a link to the article on this topic in MSDN. We don't want to have direct copies of MSDN material because this puts us into risk of copyright infringement. We also don't want to have what I call a "shallow copy" where you create the information in your own words - but not done as well as the original MSDN topic (as was the case here). The reason for this is obvious - if there is good documentation on MSDN then we don't want developers to use less good articles on our site.
In some cases you might want to create a summary topic, which provides a simpler version of the MSDN article, or which provides and overview of an area and collects good links (although I don't think it is necessary in this case). This is perfectly reasonable for complex topics - you're creating a tailored version for beginners or for some other developer segment. If you do this then it is very important (as always) to put references to the library/official documents as a SeeAlso (see above) so that people can find where it was you learned about the topic.
What we also need (see "Tip" on Category:Windows Phone) is comparative articles which help users migrate between platforms (ie an article comparing orientation change in Qt and WP). You could rewrite this like that, and include references too. We also want best practises and tips as these aren't captured on MSDN - so for example you could re-write this explaining when/why you might choose to lock in portrait or landscape and when you want to support both. You could explain anything else that might be relevant during a transition (ie should animations be turned off). I don't know what these tips would be, but I hope the "point" I am making is clear.
Anyway, in summary, remember your references, and feel free to re-write this with the information or approaches I've suggested above.
Regards
Hhamishwillee 04:29, 27 April 2012 (EEST)