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
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Dec 25, 2009, 2:42 AM
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.
bobPosted Dec 23, 2009, 6:33 AM
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 HobbsPosted Dec 22, 2009, 3:06 PM