<?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 Drag a Graphic (WPF 100.5) in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/drag-a-graphic-wpf-100-5/m-p/409425#M4854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our WPF app has multiple windows one of which hosts a map control with graphics drawn on it.&amp;nbsp; I was investigating being able to drag a graphics from the the map and drop on another window (each graphic has custom data that we want to show in another window).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The control has a DragEnter event but it never seems to fire.&amp;nbsp; I tried setting&amp;nbsp;IsPanEnabled to false but the event still does not fire.&amp;nbsp; I could use the mouse events but I want to set the drop data in DragEnter and drop it on another window that is looking for the standard Windows drop events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there not a "standard" way to drag a graphic and enable Windows drag/drop?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Sep 2019 18:56:45 GMT</pubDate>
    <dc:creator>JonShuler</dc:creator>
    <dc:date>2019-09-17T18:56:45Z</dc:date>
    <item>
      <title>Drag a Graphic (WPF 100.5)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/drag-a-graphic-wpf-100-5/m-p/409425#M4854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our WPF app has multiple windows one of which hosts a map control with graphics drawn on it.&amp;nbsp; I was investigating being able to drag a graphics from the the map and drop on another window (each graphic has custom data that we want to show in another window).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The control has a DragEnter event but it never seems to fire.&amp;nbsp; I tried setting&amp;nbsp;IsPanEnabled to false but the event still does not fire.&amp;nbsp; I could use the mouse events but I want to set the drop data in DragEnter and drop it on another window that is looking for the standard Windows drop events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there not a "standard" way to drag a graphic and enable Windows drag/drop?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2019 18:56:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/drag-a-graphic-wpf-100-5/m-p/409425#M4854</guid>
      <dc:creator>JonShuler</dc:creator>
      <dc:date>2019-09-17T18:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Drag a Graphic (WPF 100.5)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/drag-a-graphic-wpf-100-5/m-p/409426#M4855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WPF's drag events applies to classes that inherits from UIElement, which Graphic does not, so you can't really use those events to drag the graphics themselves.&lt;/P&gt;&lt;P&gt;You can read more about WPF's drag/drop API here:&amp;nbsp;&lt;A class="link-titled" href="https://docs.microsoft.com/en-us/dotnet/framework/wpf/advanced/drag-and-drop-overview" title="https://docs.microsoft.com/en-us/dotnet/framework/wpf/advanced/drag-and-drop-overview"&gt;Drag and Drop Overview | Microsoft Docs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could probably use that to "fake" the effect of dragging a graphic to another window.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2019 23:25:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/drag-a-graphic-wpf-100-5/m-p/409426#M4855</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2019-09-17T23:25:03Z</dc:date>
    </item>
  </channel>
</rss>

