Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

SilverlightControls.Silverlight, Width property and Sha... RSS

0 replies

Last post Mar 14, 2008 05:52 PM by bparkerhsd

(0)
  • bparkerhsd

    bparkerhsd

    Member

    4 Points

    10 Posts

    SilverlightControls.Silverlight, Width property and SharePoint

    Mar 14, 2008 05:52 PM | LINK

    I have a webpart that loads a xap through the SilverlightControls.Silverlight class.  This webpart is then deployed to Sharepoint and displays my Silverlight 2.0 xaml.  What I am wondering is whether the width property on the Silverlight class should be able to display a width of 100%?  Currently I can only give it a fixed pixel width.  Prior to 2.0 I was using 1.1 and using javascript to load the xaml and I was able to get my web part to display at a width of 100%.  Is this a bug or something that has not been implemented yet?