Simple question on my Silverlight Application. How can I expand the Map to full extent of browser no matter the size of the browser?



    <behaviors:WheelZoom />         
    <behaviors:MaintainExtentBehavior />

http://serverapps.esri.com/samples/MaintainExtentBehavior.cs.txt (MaintainExtentBehavior.cs)



First make sure your map control covers all of the page as you are designing.

Next in your web application when your silverlight object is declared make sure that the width and height attributes are both 100%.

With that set, you map should fill the entire browser area no matter how large or small the browser.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy