<?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: Force Refresh in MapControl in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/force-refresh-in-mapcontrol/m-p/1118291#M7366</link>
    <description>&lt;P&gt;Hi Stephen, we moved your question here to the Pro SDK questions board.&lt;/P&gt;&lt;P&gt;The MapControl does not have a specific redraw method, and content and drawing is managed by your code.&amp;nbsp; A couple places to look for more ideas:&lt;/P&gt;&lt;P&gt;This &lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Map-Exploration#mapcontrol" target="_blank"&gt;MapControl doc section&lt;/A&gt; contains a lot of guidance on usage and ViewContent snippets.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Samples using the Map control can be found at:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Exploration/OverviewMapControl" target="_blank"&gt;OverviewMapControl&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Exploration/MagnifierWindow" target="_blank"&gt;MagnifierWindow&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Nov 2021 17:44:08 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-11-18T17:44:08Z</dc:date>
    <item>
      <title>Force Refresh in MapControl</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/force-refresh-in-mapcontrol/m-p/1115671#M7362</link>
      <description>&lt;P&gt;Hi...I cannot seem to get the MapControl in the Pro C# API to refresh. After setting the content, if I change the selection on a layer, or add labels, or whatever, the MapControl does not update. As I zoom/pan in it, the changes do not apply. It is not until I rebuild the content and set it on the MapControl (i.e. update the bound property) that the new selection or whatever shows in the MapControl. I cannot find a refresh/redraw on the mapcontrol or on any of the layers. I noticed MapView has something like that, but a MapControl in a pane on the side of the app is not going to be the current view. Is there any way to update the selection in a layer in a mapcontrol and have the UI actually show the changes without rebuilding/reapplying all of the content? Thanks so much!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 15:55:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/force-refresh-in-mapcontrol/m-p/1115671#M7362</guid>
      <dc:creator>StephenDavis1</dc:creator>
      <dc:date>2021-11-10T15:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Force Refresh in MapControl</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/force-refresh-in-mapcontrol/m-p/1118291#M7366</link>
      <description>&lt;P&gt;Hi Stephen, we moved your question here to the Pro SDK questions board.&lt;/P&gt;&lt;P&gt;The MapControl does not have a specific redraw method, and content and drawing is managed by your code.&amp;nbsp; A couple places to look for more ideas:&lt;/P&gt;&lt;P&gt;This &lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Map-Exploration#mapcontrol" target="_blank"&gt;MapControl doc section&lt;/A&gt; contains a lot of guidance on usage and ViewContent snippets.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Samples using the Map control can be found at:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Exploration/OverviewMapControl" target="_blank"&gt;OverviewMapControl&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Exploration/MagnifierWindow" target="_blank"&gt;MagnifierWindow&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 17:44:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/force-refresh-in-mapcontrol/m-p/1118291#M7366</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-11-18T17:44:08Z</dc:date>
    </item>
  </channel>
</rss>

