views:

130

answers:

1

I want to figure out a way in my silverlight application to set the PageSize on my DataPager based on the maximized size of the window so that the scrollbars do not show when maximized. Any ideas?

A: 

Here is a post about checking in JavaScript if the Window is maximized. If you're running in browser, you should be able to call something like this from Silverlight.

http://www.codingforums.com/archive/index.php/t-127058.html

Jacob Adams
This is proabably as close as you can get. The more I think of it, the less I think it is possible to get the resolution in a silverlight application.
PhilBrown