How to set silverlight contents width as 100%.
Answer / Sumsher Bahadur Chand
To set Silverlight content's width to 100%, you can modify the 'width' attribute in the HTML object tag or use CSS:
HTML Object Tag:nt<object ... width="100%">...</object>
CSS:n#silverlightControlHost {ntmargin: 0;ntpadding: 0;ntwidth: 100%;n}
| Is This Answer Correct ? | 0 Yes | 0 No |
Silverlight is developed in which languages?
What is a Silverlight.js file?
What are the modes that are provided in silverlight?
What is isolated storage in silverlight?
Explain teh purpose of parent xaml tag of silverlight page?
How could you determine the media position when playing a video in silverlight?
Give a brief description of the .XAP file
What are differences between silverlight and wpf?
What is the difference between wpf and silverlight?
What is silverlight tool kit?
Explain with example how to change the default page of the silverlight application.
What are the methodologies used in Silverlight?