Explain how to set Silverlight contents width as 100%.
- Usually the UserConrol will be spread full screen.
- The contents width and height can also be set by using width and height attributes.
- To get 100% width of the screen set width="auto" and height ="auto".
- If the width and height are set to 100% which means that the silverlight content will be large enough to fill the containing elements.
- In that case the element is a
element which is placed directly in the body of the web page.
- The <div> element is placed in a way that allows to grow without restriction.