hi all,
user will keep on changing the browser window size so i want to restrict him that user should not decrease the broswer window size to (100,100) in silverlight.
i am using IE 8 with windows 7
bob
How to set min width and height of browser window in silverlight
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sam HobbsRank #107 · 20.5K reputationPosted Dec 22, 2009, 10:06 AM EST
bob15 reputationPosted Dec 23, 2009, 1:33 AM EST
i have placed silverlight control in aspx page form.now i want to restrict the user to min (100,100) size of browser window and max full extend of monitor.
Sam HobbsRank #107 · 20.5K reputationPosted Dec 24, 2009, 9:42 PM EST
Use the Form.MinimumSize and Form.MaximumSize Properties.
Note that the MaximumSize property probably needs to be set to a value slightly larger than the screen size, since Windows sets the location of maximized windows to negative values; I think the locations are set such that the border around the window (form) does not show. Also, remember that the taskbar is usually not obsured, but that detail is not important for what you are doing if you let Windows do the actual maximizing.