How to set Silverlight contents width as 100%.

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.
Layout Management Panels in Silverlight
The following are the list of Layout Management Panels: 1. Canvas Panel: Simple layouts use canvas panel and when there is no requirement of resizing the panel. The controls will overlap each other at the time of resizing the panel...
How to apply style elements in a Silverlight project
Application resources utilize the style elements for supporting the forms. The App.xaml file could be used to contain an application resource XML construct. Each style’s target type is set to the control that needs the style...
Features and benefits of Silverlight
Features and benefits of Silverlight - The following are the features of SilverLight: 1. Built in CLR engine is available for delivering a super high performance execution environment for the browser...
Post your comment