<?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: Event for switching editing mode in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/event-for-switching-editing-mode/m-p/1357033#M10796</link>
    <description>&lt;P&gt;Problem is we use Inspector class to maintain a view of an object, and when "Edit mode" changes, whole inspector nullifies the fields, and this event happens somewhere in the middle of the propagation of this change.&lt;/P&gt;&lt;P&gt;Any idea how to deal with this, or maybe how to formulate the question better?&lt;/P&gt;&lt;P&gt;Ideally when user goes from Edit to Not Edit mode, we would like the fields of inspector to stay as they are and just be read-only not emptied out.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Dec 2023 18:34:42 GMT</pubDate>
    <dc:creator>IgorDrapsin</dc:creator>
    <dc:date>2023-12-05T18:34:42Z</dc:date>
    <item>
      <title>Event for switching editing mode</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/event-for-switching-editing-mode/m-p/1355569#M10777</link>
      <description>&lt;P&gt;Is there any event we can listen for when the edit mode changes?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IgorDrapsin_0-1701420989071.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87706iC08886C72351D1F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IgorDrapsin_0-1701420989071.png" alt="IgorDrapsin_0-1701420989071.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;IgorDrapsin_0-1701420989071.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 08:56:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/event-for-switching-editing-mode/m-p/1355569#M10777</guid>
      <dc:creator>IgorDrapsin</dc:creator>
      <dc:date>2023-12-01T08:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Event for switching editing mode</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/event-for-switching-editing-mode/m-p/1355571#M10778</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Link to editing events in API reference:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic7555.html" target="_blank"&gt;ArcGIS.Desktop.Editing.Events Namespace Inheritance Hierarchy&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 08:31:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/event-for-switching-editing-mode/m-p/1355571#M10778</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2023-12-01T08:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Event for switching editing mode</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/event-for-switching-editing-mode/m-p/1355573#M10779</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for quick answer.&lt;BR /&gt;&lt;BR /&gt;I meant event that is triggered when user interacts with EDIT button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IgorDrapsin_0-1701420680262.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/87705i7BE8A0C14F020FA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IgorDrapsin_0-1701420680262.png" alt="IgorDrapsin_0-1701420680262.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;IgorDrapsin_0-1701420680262.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Main reason for asking it is, we are listening for changes in editing template, but when ESRI switches it, we don't know any more general event to listen to, to detect it.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 08:55:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/event-for-switching-editing-mode/m-p/1355573#M10779</guid>
      <dc:creator>IgorDrapsin</dc:creator>
      <dc:date>2023-12-01T08:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Event for switching editing mode</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/event-for-switching-editing-mode/m-p/1355585#M10780</link>
      <description>&lt;P&gt;You can check current status by calling&amp;nbsp;Project.Current.IsEditingEnabled.&lt;/P&gt;&lt;P&gt;If you want enable/disable custom tools depending on editing status, you can use Button/MapTool conditions&amp;nbsp;&lt;SPAN&gt;esri_editing_EditingPossibleCondition, esri_editing_EditingMapCondition&amp;nbsp; in daml like a single condition or in addition to your conditions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;On Disabling editing EditingCompletedEvent will be raised&amp;nbsp;with Discard argument.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 09:45:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/event-for-switching-editing-mode/m-p/1355585#M10780</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2023-12-01T09:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Event for switching editing mode</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/event-for-switching-editing-mode/m-p/1356241#M10785</link>
      <description>&lt;P&gt;Following on, you can also get a property changed notification on IsEditingEnabled. This should fire with the edit button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;    protected override void OnClick()
    {
      Project.Current.PropertyChanged += Current_PropertyChanged;
    }

    private void Current_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
    {
      //if (e.PropertyName == "HasEdits")
      //  MessageBox.Show("HasEdits changed");

      if (e.PropertyName == "IsEditingEnabled")
        MessageBox.Show("IsEditingEnabled changed");
    }&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 04 Dec 2023 12:41:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/event-for-switching-editing-mode/m-p/1356241#M10785</guid>
      <dc:creator>sjones_esriau</dc:creator>
      <dc:date>2023-12-04T12:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Event for switching editing mode</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/event-for-switching-editing-mode/m-p/1357033#M10796</link>
      <description>&lt;P&gt;Problem is we use Inspector class to maintain a view of an object, and when "Edit mode" changes, whole inspector nullifies the fields, and this event happens somewhere in the middle of the propagation of this change.&lt;/P&gt;&lt;P&gt;Any idea how to deal with this, or maybe how to formulate the question better?&lt;/P&gt;&lt;P&gt;Ideally when user goes from Edit to Not Edit mode, we would like the fields of inspector to stay as they are and just be read-only not emptied out.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 18:34:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/event-for-switching-editing-mode/m-p/1357033#M10796</guid>
      <dc:creator>IgorDrapsin</dc:creator>
      <dc:date>2023-12-05T18:34:42Z</dc:date>
    </item>
  </channel>
</rss>

