9

Possible Duplicate:
How can I prevent the user from resizing the silverlight out-of-browser window?

Is there any way to actually remove the ability to maximize/resize the out of browser window since I want my application to be of a certain size.

Thanks

Community
  • 1
  • 1
Sandeep Bansal
  • 6,280
  • 17
  • 84
  • 126
  • I'd find it quite annoying not to be able to resize a window on my desktop :) – IanNorton Jun 28 '11 at 07:32
  • Looks like a duplicate of:- http://stackoverflow.com/questions/2682731/how-can-i-prevent-the-user-from-resizing-the-silverlight-out-of-browser-window – IanNorton Jun 28 '11 at 07:30

2 Answers2

1

I can't be 100% sure but I would hazard a guess you could just go:

this.resizable = false;
this.maximise = FALSE; 

in the constructor of the views code behind file.

Rob Hruska
  • 118,520
  • 32
  • 167
  • 192
Shannon
  • 843
  • 6
  • 22
-3

You can make any new window have no statusbar, no toolbar, no resize, etc. using window.open(): http://www.javascript-coder.com/window-popup/javascript-window-open.phtml

However, this is completely dependent on the browser, many ignore this, or have a user setting to override this behavior.

NoBugs
  • 9,310
  • 13
  • 80
  • 146