Filling Browser Window with Silverlight Application

后端 未结 4 1884
[愿得一人]
[愿得一人] 2021-01-04 06:40

I want my Silverlight app to fill the entire browser window. I\'ve set the plugin object width and height to 100%, and set my LayoutRoot container\'s height and width to Aut

4条回答
  •  半阙折子戏
    2021-01-04 07:35

    First, I don't set the height/width in the user control. Instead, I set the DesignHeight and DesignWidth (in the "http://schemas.microsoft.com/expression/blend/2008" namespace) and I set the alignment to stretch

    
    

    In my HTML, I set the Height and Width to 100% like this...

    At that point, everything works for me to have it take the entire window.

提交回复
热议问题