Click here to Skip to main content
15,894,907 members
Articles / Desktop Programming / WPF

WPF: Displaying Photos and Videos Properly in Portrait and Landscape orientation

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
23 Sep 2023Public Domain6 min read 4.7K   5  
Detailed article explaining how to make WPF display media files created by mobile phones properly
It should be terribly simple to display photos and videos in a WPF application by just adding an or . Unfortunately, Microsoft has hardly done anything for WPF in the last 10+ years and therefore these elements fail to display media recorded with a mobile phone properly, even Windows does so easily :-(

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under A Public Domain dedication


Written By
Software Developer (Senior)
Singapore Singapore
Retired SW Developer from Switzerland living in Singapore

Interested in WPF projects.

Comments and Discussions