<?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: Looking for an EditCanceledEvent in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/looking-for-an-editcanceledevent/m-p/829912#M3241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ted,&lt;/P&gt;&lt;P&gt;We currently don't have a public event for sketch cancelled or for the vertex events if you are curious. These are on the list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Sep 2016 00:00:06 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2016-09-13T00:00:06Z</dc:date>
    <item>
      <title>Looking for an EditCanceledEvent</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/looking-for-an-editcanceledevent/m-p/829911#M3240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a custom button that I want to use to launch the edit vertices tool, then respond to the completed edit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This much is working:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-size: 13px;"&gt;'listen for the OnEditCompleted event&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt; _edit_completed_event_token = EditCompletedEvent.Subscribe(AddressOf OnEditCompleted)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt; 'activate the move button&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt; Dim cmd As ICommand = TryCast(FrameworkApplication.GetPlugInWrapper("esri_editing_EditVerticesMove"), ICommand)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt; If cmd IsNot Nothing AndAlso cmd.CanExecute(Nothing) Then&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cmd.Execute(Nothing)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt; End If&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The edit vertex toolbar displays and when the sketch is completed the OnEditCompleted fires and I can use the EditCompletedEventArgs to get information about the edit that was just performed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if the user hits the cancel button on the edit vertex toolbar, or if they finish sketch without having made an edit, the OnEditCompleted does not fire. &amp;nbsp;I am looking for an event that I can subscribe to in this case, so I can respond to the fact that the user canceled the move vertex edit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:58:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/looking-for-an-editcanceledevent/m-p/829911#M3240</guid>
      <dc:creator>TedChapin</dc:creator>
      <dc:date>2021-12-12T16:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for an EditCanceledEvent</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/looking-for-an-editcanceledevent/m-p/829912#M3241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ted,&lt;/P&gt;&lt;P&gt;We currently don't have a public event for sketch cancelled or for the vertex events if you are curious. These are on the list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 00:00:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/looking-for-an-editcanceledevent/m-p/829912#M3241</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-09-13T00:00:06Z</dc:date>
    </item>
  </channel>
</rss>

