<?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: ShowCoordinatesBehavior Has Black Background in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/showcoordinatesbehavior-has-black-background/m-p/40994#M1086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well bummer... Doesn't seem to matter if it is a "Full Trust" app either.&amp;nbsp; Guess I will have to find some other means of showing these coordinates to the user.&amp;nbsp; I'll try to work out a fixed window and display the coordinates in it using something like: MyMap.ScreenToMap(screenPoint)...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well thanks a lot for looking into this, I REALLY appriciate it!!!&amp;nbsp; Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Oct 2010 22:51:24 GMT</pubDate>
    <dc:creator>RyanCoodey</dc:creator>
    <dc:date>2010-10-04T22:51:24Z</dc:date>
    <item>
      <title>ShowCoordinatesBehavior Has Black Background</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/showcoordinatesbehavior-has-black-background/m-p/40990#M1082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Where does the ShowCoordinatesBehavior inherit its background color from and how can I change it?&amp;nbsp; It should be transparent... but I am seeing a back box behind the coordinates...&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, 04 Oct 2010 17:21:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/showcoordinatesbehavior-has-black-background/m-p/40990#M1082</guid>
      <dc:creator>RyanCoodey</dc:creator>
      <dc:date>2010-10-04T17:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: ShowCoordinatesBehavior Has Black Background</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/showcoordinatesbehavior-has-black-background/m-p/40991#M1083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I cannot reproduce this. Do you mind sharing more information? Maybe a screenshot? I'm using the sample from our SDK &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ShowCoordinatesBehavior"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ShowCoordinatesBehavior&lt;/A&gt;&lt;SPAN&gt; and tried it with SL4, WPF4, and WPF3.5 projects, and none of them have a Background set to Black (kindly see attached image).&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By default ShowCoordinatesBehavior template has 2 TextBlocks (one with Black Foreground and the other with White Foreground that appears like an outline). This template does not set Background property and it also cannot be modified.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 20:09:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/showcoordinatesbehavior-has-black-background/m-p/40991#M1083</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-10-04T20:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: ShowCoordinatesBehavior Has Black Background</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/showcoordinatesbehavior-has-black-background/m-p/40992#M1084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jennifer, Thanks a lot for doing all that testing... I am running a .NET 4 WPF Web Application (XBAP) and I just tried it as a regular WPF application and it displays fine, but as a Web Application (XBAP) it has this black background.&amp;nbsp;&amp;nbsp; Hmmm, so what is the difference between those two... not sure what I could do to fix it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached a screen shot of the black background.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for the help!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 20:39:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/showcoordinatesbehavior-has-black-background/m-p/40992#M1084</guid>
      <dc:creator>RyanCoodey</dc:creator>
      <dc:date>2010-10-04T20:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: ShowCoordinatesBehavior Has Black Background</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/showcoordinatesbehavior-has-black-background/m-p/40993#M1085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This seems to be a limitation on WPF Browser Application as discussed in this link &lt;/SPAN&gt;&lt;A href="http://www.netframeworkdev.com/windows-presentation-foundation-wpf/problem-with-popup-bakground-in-xbap-application-77838.shtml" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.netframeworkdev.com/windows-presentation-foundation-wpf/problem-with-popup-bakground-in-xbap-application-77838.shtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried creating a popup outside our API and followed the suggestion of setting AllowsTransparency to False and explicitly setting a Background. However, when Background is set to {x:Null} or Transparent, the background remains black. It only accepted Background when set to "White" or other colors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp; &amp;lt;Grid&amp;gt;
&amp;nbsp; &amp;lt;ToggleButton x:Name="ShowPopup" Content="ShowPopup" VerticalAlignment="Top" HorizontalAlignment="Center"/&amp;gt;
&amp;nbsp; &amp;lt;Popup AllowsTransparency="False" PlacementTarget="{Binding ElementName=ShowPopup}" Placement="Relative"&amp;nbsp; IsOpen="{Binding ElementName=ShowPopup, Path=IsChecked}" Opened="Popup_Opened"&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;Popup.Child&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Border Background="{x:Null}"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TextBlock Text="Test"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Border&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/Popup.Child&amp;gt;
&amp;nbsp; &amp;lt;/Popup&amp;gt;
 &amp;lt;/Grid&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Due to this limitation, we also cannot support it at this time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:35:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/showcoordinatesbehavior-has-black-background/m-p/40993#M1085</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-10T21:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: ShowCoordinatesBehavior Has Black Background</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/showcoordinatesbehavior-has-black-background/m-p/40994#M1086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well bummer... Doesn't seem to matter if it is a "Full Trust" app either.&amp;nbsp; Guess I will have to find some other means of showing these coordinates to the user.&amp;nbsp; I'll try to work out a fixed window and display the coordinates in it using something like: MyMap.ScreenToMap(screenPoint)...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well thanks a lot for looking into this, I REALLY appriciate it!!!&amp;nbsp; Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 22:51:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/showcoordinatesbehavior-has-black-background/m-p/40994#M1086</guid>
      <dc:creator>RyanCoodey</dc:creator>
      <dc:date>2010-10-04T22:51:24Z</dc:date>
    </item>
  </channel>
</rss>

