No path is too difficult. No destination is too far !
How to detect resolution of client in WPF?
I was wondering about how to detect scrren resolution for client’s machine in wpf. I searched internet, tried googling but in vein.
Here is the snippet that can help the folks looking for similar solution.
// Detect screen height available. Remember it is the inner area of screen.
SystemParameters.FullPrimaryScreenWidth
// Detect screen width available. Remember it is the inner area of screen.
SystemParameters.FullPrimaryScreenHeight;
| Print article | This entry was posted by Ashish Sehajpal on February 18, 2010 at 3:52 pm, and is filed under Development. Follow any responses to this post through RSS 2.0. Both comments and pings are currently closed. |
Comments are closed.
about 1 year ago
Thanks so much for your distinct article;this is the kind of thing that keeps me on track through out my day. I have been looking around for this site after I heard about them from a colleague and was thrilled when I was able to find it after searching for some time. Being a avid blogger, I’m pleased to see others taking initivative and contributing to the community. Just wanted to comment to show my support for your page as it is very challenging to do, and many bloggers do not get appreciation they deserve. I am sure I’ll be back and will send some of my friends.