Customer Service | Training | Contact Us
You are here: Home > User Forums > arcgis server forums > Thread Replies

ArcGIS Server Forums

ArcGIS API for Silverlight forum

Load map from prism module and display full...   Eric Polerecky Sep 03, 2009
Re: Load map from prism module and display...   Eric Polerecky Sep 03, 2009
Re: Load map from prism module and display...   Morten Nielsen Sep 03, 2009
Re: Load map from prism module and display...   Eric Polerecky Sep 03, 2009
Re: Load map from prism module and display...   Morten Nielsen Sep 03, 2009
Report Inappropriate Content • Top • Print • Reply    
Subject Load map from prism module and display full screen 
Author Eric Polerecky 
Date Sep 03, 2009 
Message I'm using prism to modularize my applications and so far I'm unable to get the map to display full screen when loaded from a module.

Attached is my sample. 
  Eric Polerecky --
Technology Aces, LLC
http://www.technologyaces.com 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Load map from prism module and display full screen 
Author Eric Polerecky 
Date Sep 03, 2009 
Message Forgot attachment. 
  Eric Polerecky --
Technology Aces, LLC
http://www.technologyaces.com 
  FullScreen.zip (opens in new window)
 
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Load map from prism module and display full screen 
Author Morten Nielsen 
Date Sep 03, 2009 
Message In the "MapRegion" ContentControl inside Shell.xaml, add the following two attributes:
HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" 
 
<ContentControl HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"
      Regions:RegionManager.RegionName="MapRegion" Grid.ColumnSpan="2" Grid.RowSpan="2"></ContentControl>
		
 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Load map from prism module and display full screen 
Author Eric Polerecky 
Date Sep 03, 2009 
Message No change.

I added HorizontalAlignment="Stretch" VerticalAlignment="Stretch" to the ContentControl in Shell.xaml

I also tried adding HorizontalAlignment="Stretch" VerticalAlignment="Stretch" to the Map Control and Grid.

Still just a small little map. 
  Eric Polerecky --
Technology Aces, LLC
http://www.technologyaces.com 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Load map from prism module and display full screen 
Author Morten Nielsen 
Date Sep 03, 2009 
Message You are missing the Content word:
HorizontalAlignment vs HorizontalContentAlignment