Silverlight 3 out-of-browser: set host window size?

浪子不回头ぞ 提交于 2019-12-18 08:14:31

问题


Is it possible for a Silverlight 3 application which is running in out-of-browser mode to set the size of the container window? I've got an app with collapsible panel sections and I want the window to automatically size to the current size of the LayoutRoot control.


回答1:


You can set the window size in the project settings:

  1. Open Project settings
  2. Open Out of browser settings in Silverlight Tab
  3. Set the window size, window title or window position



回答2:


I Agree with pivotnig This Is more Simplified version

1 . Click On Sliverlight Project

2 . Select Properties option

3 . Select First tab option Like Silverlight

4 . Click On Out-Of-Browser setting Option

5 . Set the window size, window title or window position etc......



来源:https://stackoverflow.com/questions/1187431/silverlight-3-out-of-browser-set-host-window-size

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!