Vertical Scrolling SIlverlight -
how srolling on browser silverlight webpage? . mentioned width = "1800" height= "1800" usercontrol in mainpage.xaml. scrollbar doesnt showup , contents not visible in browser.
you're changing width , height on xaml only, need think browser object declaration well, if you're using de basic project template you've object declaration width , height declared 100%. adjust silverlight object screen size (not considering xaml declaration).
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%"> <param name="source" value="clientbin/some.xap"/> <param name="onerror" value="onsilverlighterror" /> <param name="background" value="white" /> <param name="minruntimeversion" value="4.0.50826.0" /> <param name="autoupgrade" value="true" /> <a href="http://go.microsoft.com/fwlink/?linkid=149156&v=4.0.50826.0" style="text-decoration:none"> <img src="http://go.microsoft.com/fwlink/?linkid=161376" alt="get microsoft silverlight" style="border-style:none"/> </a> </object><iframe id="_sl_historyframe" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
also if application needs scrolling support of sort suggest scrollviewer control.
Comments
Post a Comment