This is a mirror of official site: http://jasper-net.blogspot.com/

Tips & Tricks: How to get the Screen Resolution in Silverlight ?

| Monday, August 30, 2010
In this Tips & Tricks, I will show you the steps by which you can get the Screen Resolution of Client’s PC in Silverlight Application. It is quite simple. You have to just call the HTML DOM object to receive the handle of the screen and from that you can easily get the Screen Resolution.
To get the Screen Resolution, you need to get the handle of the Window and you can get it from:

System.Windows.Browser.HtmlPage.Window;

Read more: Kunal's Blog

Posted via email from .NET Info

0 comments: