开发者

Disable resizing out of browser Silverlight 4 Window [duplicate]

开发者 https://www.devze.com 2023-03-12 00:32 出处:网络
This question already has answers here: Closed 11 years ago开发者_StackOverflow中文版. Possible Duplicate:
This question already has answers here: Closed 11 years ago开发者_StackOverflow中文版.

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


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消