<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Constrain InfoWindow to window size in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663421#M17006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the ContentTemplate defined in my codebehind and my XAML.&amp;nbsp; I don't know if it's necessary, but that's what I have.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Couple more things to try:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Is&amp;nbsp; the infoWindow opening BEHIND the map?&amp;nbsp; check the zIndex&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.&amp;nbsp; Is your map contained inside a Grid with multiple rows/columns?&amp;nbsp; I had a lot of problems with opening an InfoWindow when the map was inside a specific grid cell.(&lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/23081-How-do-I-control-the-Infowindow-height?p=100995"&gt;http://forums.arcgis.com/threads/23081-How-do-I-control-the-Infowindow-height?p=100995&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Mar 2012 17:57:22 GMT</pubDate>
    <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
    <dc:date>2012-03-09T17:57:22Z</dc:date>
    <item>
      <title>Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663413#M16998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to constrain the InfoWindow, when visible, to the size of the browser window?&amp;nbsp; If a user clicks a point that is close to the top of the browser window, the InfoWindow expands past the top of the page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; [ATTACH=CONFIG]12103[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Ideally I'd like to shift the map south so that the entire InfoWindow displays. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]12104[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 19:28:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663413#M16998</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2012-02-21T19:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663414#M16999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: jenniferdnery&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the current behavior of InfoWindow, it does not pan the map or open from bottom to fit the application. If you wish to change this, you can download source from: &lt;/SPAN&gt;&lt;A href="http://esrisilverlight.codeplex.com/"&gt;http://esrisilverlight.codeplex.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also probably change the size of element inside DataTemplate or use ScrollViewer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 16:56:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663414#M16999</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-02-22T16:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663415#M17000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What I ended up doing is building an envelope that compensated for the width &amp;amp; height of the infoWindow.&amp;nbsp; If the anchor point of the infowindow fell outside the envelope then the map would pan to center the anchor on the page.&amp;nbsp; If the anchor point of the infoWindow fell inside the envelope, then the map does not pan since the infoWindow will completely show.&amp;nbsp; Every time the extent of the map changes, the envelope refreshes.&amp;nbsp; Seems to work perfectly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 19:26:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663415#M17000</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2012-02-23T19:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663416#M17001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: brunno14&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is there a way to constrain the InfoWindow, when visible, to the size of the browser window?&amp;nbsp; If a user clicks a point that is close to the top of the browser window, the InfoWindow expands past the top of the page.&lt;BR /&gt; [ATTACH=CONFIG]12103[/ATTACH]&lt;BR /&gt;&lt;BR /&gt; Ideally I'd like to shift the map south so that the entire InfoWindow displays. &lt;BR /&gt;[ATTACH=CONFIG]12104[/ATTACH]&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please post the code showing how you did this InfoWindow?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having some problems to implement this control...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 18:33:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663416#M17001</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-03-08T18:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663417#M17002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi..&lt;BR /&gt;&lt;BR /&gt;Could you please post the code showing how you did this InfoWindow?&lt;BR /&gt;&lt;BR /&gt;I'm having some problems to implement this control...&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you having problems implementing a simple infoWindow?&amp;nbsp; If so, then check this out:&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#InfoWindowSimple"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#InfoWindowSimple&lt;BR /&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 18:45:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663417#M17002</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2012-03-08T18:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663418#M17003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: brunno14&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Are you having problems implementing a simple infoWindow?&amp;nbsp; If so, then check this out:&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#InfoWindowSimple" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#InfoWindowSimple&lt;BR /&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I saw this sample, the problem is that I'm trying to implement the InfoWindow in a User Control, in a different page than the MapPage.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a piece of code of my User Control: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Grid x:Name="LayoutRoot" Background="White"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Grid.Resources&amp;gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DataTemplate x:Name="MyFeatureLayerInfoWindowTemplate"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;StackPanel Orientation="Horizontal"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TextBlock Text="TEST" Foreground="Black" FontSize="12" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/StackPanel&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/DataTemplate&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Grid.Resources&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:InfoWindow x:Name="MyInfoWindow"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Padding="2"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CornerRadius="20" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Background="LightSalmon"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContentTemplate="{StaticResource MyFeatureLayerInfoWindowTemplate}" /&amp;gt;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Grid&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And in the click event of the graphic, that should show the InfoWindow, I put the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; void graphic_MouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Graphic gra = sender as Graphic;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyInfoWindow MyInfo = new MyInfoWindow();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyInfo.MyInfoWindow.Content = gra.Attributes;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyInfo.MyInfoWindow.Anchor = gra.Geometry as MapPoint;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyInfo.MyInfoWindow.Map = CurrentPage.myMap;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyInfo.MyInfoWindow.IsOpen = true;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put a breakpoint inside the click event, and when I click in the graphic, it hits the breakpoint, but no InfoWindow appears...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I missing something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:02:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663418#M17003</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T04:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663419#M17004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is the geometry of your graphic a point (MapPoint)?&amp;nbsp; Make sure you are returning map coords.&amp;nbsp; Also, not sure if this could be a problem, but you aren't specifying the ContentTemplate of your infoWindow...&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You need:&amp;nbsp; MyInfoWindow.ContentTemplate = TryCast(LayoutRoot.Resources("InfoWindowTemplate"),system.windows.datatemplate)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(sorry, I am a VB.NET guy :p)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 17:29:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663419#M17004</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2012-03-09T17:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663420#M17005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: brunno14&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While debugging I can see the values, and it shows the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Point[X=-46.6344223022461, Y=-23.5520210266113, WKID=4326]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The values are right, so this wouldn't be a problem, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I'm specifying the ContentTemplate of my InfoWindow in the XAML code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;esri:InfoWindow x:Name="MyInfoWindow"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Padding="2"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CornerRadius="20" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Background="LightSalmon"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContentTemplate="{StaticResource MyFeatureLayerInfoWindowTemplate}" /&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I need to specify it again in my code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm new to this stuff, sorry for the inconvenience &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:44:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663420#M17005</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T16:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663421#M17006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the ContentTemplate defined in my codebehind and my XAML.&amp;nbsp; I don't know if it's necessary, but that's what I have.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Couple more things to try:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Is&amp;nbsp; the infoWindow opening BEHIND the map?&amp;nbsp; check the zIndex&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.&amp;nbsp; Is your map contained inside a Grid with multiple rows/columns?&amp;nbsp; I had a lot of problems with opening an InfoWindow when the map was inside a specific grid cell.(&lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/23081-How-do-I-control-the-Infowindow-height?p=100995"&gt;http://forums.arcgis.com/threads/23081-How-do-I-control-the-Infowindow-height?p=100995&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 17:57:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663421#M17006</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2012-03-09T17:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663422#M17007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: brunno14&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok. I've set the ContentTemplate in code-behind. No changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1- I don't think my InfoWindow is opening behind the map. There's no zIndex set in myMap and looks like there's no zIndex property in the InfoWindow aswell.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2- Yes, my map is contained inside a Grid. I saw the thread you refer, but in my case the infowindow doesnt even appear, while in the other cases the infowindow is appearing in the wrong position...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for trying to help me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 18:27:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663422#M17007</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-03-09T18:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663423#M17008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ok. I've set the ContentTemplate in code-behind. No changes.&lt;BR /&gt;&lt;BR /&gt;1- I don't think my InfoWindow is opening behind the map. There's no zIndex set in myMap and looks like there's no zIndex property in the InfoWindow aswell.&lt;BR /&gt;&lt;BR /&gt;2- Yes, my map is contained inside a Grid. I saw the thread you refer, but in my case the infowindow doesnt even appear, while in the other cases the infowindow is appearing in the wrong position...&lt;BR /&gt;&lt;BR /&gt;Thanks for trying to help me.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try setting a breakpoint in your MouseDown event and see if myinfowindow.isopen returns true.&amp;nbsp; If it is true, then check the anchorpoint property and see if it falls within the extnent of your map.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 13:38:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663423#M17008</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2012-03-12T13:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663424#M17009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: brunno14&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Try setting a breakpoint in your MouseDown event and see if myinfowindow.isopen returns true.&amp;nbsp; If it is true, then check the anchorpoint property and see if it falls within the extnent of your map.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The IsOpen property returns true.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Under the Anchor property, theres an Extent property with the following values:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;XMax&amp;nbsp; -46.6654243469238&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;XMin&amp;nbsp;&amp;nbsp; -46.6654243469238&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;YMax -23.5543193817139&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;YMin&amp;nbsp; -23.5543193817139&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the height and width properties are 0.0, is it normal?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the Extent property of myMap, there are the following values:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;XMax -5188689.952898005&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;XMin&amp;nbsp; -5195560.7625789493&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;YMax -2697750.5551072815&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;YMin&amp;nbsp; -2701171.6058885315&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Height&amp;nbsp; 3421.05078125&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Width&amp;nbsp; 6870.8096809443086&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anything wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 14:08:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663424#M17009</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-03-12T14:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663425#M17010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;OK.&lt;BR /&gt;&lt;BR /&gt;The IsOpen property returns true.&lt;BR /&gt;&lt;BR /&gt;Under the Anchor property, theres an Extent property with the following values:&lt;BR /&gt;&lt;BR /&gt;XMax&amp;nbsp; -46.6654243469238&lt;BR /&gt;XMin&amp;nbsp;&amp;nbsp; -46.6654243469238&lt;BR /&gt;&lt;BR /&gt;YMax -23.5543193817139&lt;BR /&gt;YMin&amp;nbsp; -23.5543193817139&lt;BR /&gt;&lt;BR /&gt;And the height and width properties are 0.0, is it normal?&lt;BR /&gt;&lt;BR /&gt;In the Extent property of myMap, there are the following values:&lt;BR /&gt;&lt;BR /&gt;XMax -5188689.952898005&lt;BR /&gt;XMin&amp;nbsp; -5195560.7625789493&lt;BR /&gt;&lt;BR /&gt;YMax -2697750.5551072815&lt;BR /&gt;YMin&amp;nbsp; -2701171.6058885315&lt;BR /&gt;&lt;BR /&gt;Height&amp;nbsp; 3421.05078125&lt;BR /&gt;Width&amp;nbsp; 6870.8096809443086&lt;BR /&gt;&lt;BR /&gt;Is there anything wrong?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Based on your anchor point, it looks like you are somewhere in Brazil?&amp;nbsp; But.... Is your map in a different spatial reference?&amp;nbsp; The coords between the infowindow and the map extent don't seem to line up.&amp;nbsp; The infowindow is opening, but somewhere else in the world!&amp;nbsp; Make sure your map spatial ref is in &lt;P align="left"&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#333333;"&gt; WKID=4326&lt;/SPAN&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 14:32:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663425#M17010</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2012-03-12T14:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663426#M17011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: brunno14&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Based on your anchor point, it looks like you are somewhere in Brazil?&amp;nbsp; But.... Is your map in a different spatial reference?&amp;nbsp; The coords between the infowindow and the map extent don't seem to line up.&amp;nbsp; The infowindow is opening, but somewhere else in the world!&amp;nbsp; Make sure your map spatial ref is in &lt;P align="left"&gt;&lt;SPAN style="color:#333333;"&gt; WKID=4326&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This seems to be the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to show the InfoWindow when user clicks in a graphic, that is an image... This graphic has a spatial reference different than the map...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Graphic graphic = new Graphic();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphic.Geometry = new MapPoint(X, Y, new SpatialReference(4326));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphic.Symbol = myImage;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the spatial ref of myMap is 102100... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I change the graphic's spatial ref to 102100, it appears in the middle of the ocean, but if I set to 4326 it appears in the right place...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What should I do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:02:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663426#M17011</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T04:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663427#M17012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is the source of your point-graphic data?&amp;nbsp; If it's a feature class (shapefile, GeoDB, etc.) You can either project the source data from 4326 to 102100 or you can define 4326 as the spatial reference for your data frame and let ArcGIS project it on the fly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively, you can use a GeometryService to project your graphics coords from 4326 to 102100 right in ArcGIS Server.&amp;nbsp; See:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Project"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Project&lt;BR /&gt;&lt;/A&gt;&lt;SPAN&gt;Use the geometry of your graphic (in 4326) as the input, and use the output(in 102100) as the anchor point of your info window.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Project"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 16:01:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663427#M17012</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2012-03-12T16:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663428#M17013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: brunno14&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What is the source of your point-graphic data?&amp;nbsp; If it's a feature class (shapefile, GeoDB, etc.) You can either project the source data from 4326 to 102100 or you can define 4326 as the spatial reference for your data frame and let ArcGIS project it on the fly.&lt;BR /&gt;&lt;BR /&gt;Alternatively, you can use a GeometryService to project your graphics coords from 4326 to 102100 right in ArcGIS Server.&amp;nbsp; See:&amp;nbsp; &lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Project"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Project&lt;BR /&gt;&lt;/A&gt;Use the geometry of your graphic (in 4326) as the input, and use the output(in 102100) as the anchor point of your info window.&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Project"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using a GeometryService now and my graphics coords are in 102100, just like myMap...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But no changes &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My InfoWindow doesnt show up...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I dont know what I'm doing wrong &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 19:39:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663428#M17013</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-03-12T19:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663429#M17014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was just looking back at some of the previous posts and I see you said you are trying to implement the infoWindow inside a userControl which is not the same page as your map.&amp;nbsp; Have you tried to use it inside the same page as your map?&amp;nbsp; Maybe see if you can get it to work in there.&amp;nbsp; If you can, then maybe that'll give you some hints.&amp;nbsp; I've never tried to implement the infoWindow on a page that's not the same as my map.&amp;nbsp; I'm not sure why you would want to.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 11:21:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663429#M17014</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2012-03-13T11:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663430#M17015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: brunno14&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I was just looking back at some of the previous posts and I see you said you are trying to implement the infoWindow inside a userControl which is not the same page as your map.&amp;nbsp; Have you tried to use it inside the same page as your map?&amp;nbsp; Maybe see if you can get it to work in there.&amp;nbsp; If you can, then maybe that'll give you some hints.&amp;nbsp; I've never tried to implement the infoWindow on a page that's not the same as my map.&amp;nbsp; I'm not sure why you would want to.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me explain why I need to implement the InfoWindow inside an UserControl....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my project, I have the MainPage, which contains the map and a toolbar... At this moment, theres no graphics on my map, just the map...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I click in an option in my toolbar, it shows a "pop up" with some options that I have to choose... The pop up is in a different page (another .xaml) than the map...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this pop up, there's a button, and when I click on it, it creates a GraphicsLayer, adds the new GraphicsLayer in the Layers property of my Map, create the graphics and add those graphics to the GraphicsLayer...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This works fine...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that I need to display an InfoWindow when user clicks in any of those graphics...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there another way to do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 14:07:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663430#M17015</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-03-13T14:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663431#M17016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You don't need to implement the infowindow inside your usercontrol, you can do it right on the same page as the map (the MainPage).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is your graphicslayer defined in your XAML or is it done via codebehind?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 14:56:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663431#M17016</guid>
      <dc:creator>deleted-user-ATjHIWsdQYmT</dc:creator>
      <dc:date>2012-03-13T14:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Constrain InfoWindow to window size</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663432#M17017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: brunno14&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You don't need to implement the infowindow inside your usercontrol, you can do it right on the same page as the map (the MainPage).&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Is your graphicslayer defined in your XAML or is it done via codebehind?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;via code-behind....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 15:22:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/constrain-infowindow-to-window-size/m-p/663432#M17017</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-03-13T15:22:05Z</dc:date>
    </item>
  </channel>
</rss>

