Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 175821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:46:01+00:00 2026-05-11T13:46:01+00:00

I want my Silverlight app to fill the entire browser window. I’ve set the

  • 0

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 Auto, but still no luck. Any suggestions?

<form id='form1' runat='server'>     <asp:ScriptManager ID='ScriptManager1' runat='server' />     <asp:Silverlight ID='Silverlight1' runat='server'          Source='~/ClientBin/Client.xap'         MinimumVersion='2.0.30818.0'         AutoUpgrade='true'         Height='100%'          Width='100%'>     </asp:Silverlight> </form>  <UserControl      x:Class='Client.Page'     xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation'      xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'      Height='Auto'     Width='Auto'>     <Grid          x:Name='LayoutRoot'          Background='#084E85'         ShowGridLines='True'>         <Grid.ColumnDefinitions>             <ColumnDefinition Width='280' />             <ColumnDefinition Width='Auto' />         </Grid.ColumnDefinitions>         <Grid.RowDefinitions>             <RowDefinition Height='80' />             <RowDefinition Height='Auto' />             <RowDefinition Height='600' />         </Grid.RowDefinitions>          ...Remaining content here...     </Grid> </UserControl> 

Disclaimer: I searched for an answer first, finding this thread. However, as you can see by my code that isn’t working for me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T13:46:01+00:00Added an answer on May 11, 2026 at 1:46 pm

    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

    <UserControl ...      xmlns:d='http://schemas.microsoft.com/expression/blend/2008'      HorizontalAlignment='Stretch' VerticalAlignment='Stretch'     d:DesignHeight='1050' d:DesignWidth='1680'> 

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

    <div style='height: 100%; width: 100%; position: fixed;'>         <asp:Silverlight runat='server' Source='~/ClientBin/My.xap' ID='MyId'              Width='100%' Height='100%' /> </div> 

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

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a silverlight app that I want to support plugin development for. I'm
I want to create a Silverlight app to extract and manipulate data from an
I am making restful requests in my silverlight app, I want to get information
I want to build a WCF REST service, consumed by a Silverlight app, and
I have an ASP.MVC application which has a silverlight app inside. I want to
I want my silverlight app to run in full screen (disabling the battery/signal bar
I want to provide silverlight app to my customer while hosting the app at
In my Silverlight app I have UserControl and I want to reference a StaticResource
I've got a Silverlight app that I want to call from either https or
I've written a small hello world test app in Silverlight which i want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.