<?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 Getting Layers events in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-layers-events/m-p/1010510#M5886</link>
    <description>&lt;P&gt;I am trying to get events for layers such as visible on/off or symbology change.&lt;/P&gt;&lt;P&gt;I can get the&amp;nbsp;DrawCompleteEvent but it is very hard to understand what was changed.&lt;/P&gt;&lt;P&gt;I did not get the&amp;nbsp;MapMemberPropertiesChangedEvent fire when I turn visibility on/off.&lt;/P&gt;&lt;P&gt;Any other ideas?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 17 Dec 2020 08:16:17 GMT</pubDate>
    <dc:creator>mody_buchbinder</dc:creator>
    <dc:date>2020-12-17T08:16:17Z</dc:date>
    <item>
      <title>Getting Layers events</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-layers-events/m-p/1010510#M5886</link>
      <description>&lt;P&gt;I am trying to get events for layers such as visible on/off or symbology change.&lt;/P&gt;&lt;P&gt;I can get the&amp;nbsp;DrawCompleteEvent but it is very hard to understand what was changed.&lt;/P&gt;&lt;P&gt;I did not get the&amp;nbsp;MapMemberPropertiesChangedEvent fire when I turn visibility on/off.&lt;/P&gt;&lt;P&gt;Any other ideas?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 08:16:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-layers-events/m-p/1010510#M5886</guid>
      <dc:creator>mody_buchbinder</dc:creator>
      <dc:date>2020-12-17T08:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Layers events</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-layers-events/m-p/1013095#M5906</link>
      <description>&lt;P&gt;Does the PropertyChanged event fire for a featurelayer when its IsVisible property is changed?&lt;/P&gt;&lt;P&gt;If it does, I suppose you'd need to traverse through the layers to handle the situation where IsVisible is true, but it's contained within a GroupLayer whose IsVisible is false.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 23:49:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-layers-events/m-p/1013095#M5906</guid>
      <dc:creator>KirkKuykendall1</dc:creator>
      <dc:date>2020-12-30T23:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Layers events</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-layers-events/m-p/1013111#M5907</link>
      <description>&lt;P&gt;Hi Kirk&lt;/P&gt;&lt;P&gt;If I have to check all layers in TOC and compare to the previous state I can use the Draw event.&lt;/P&gt;&lt;P&gt;It is not simple to understand symbology change or other small changes (labeling, layer name etc.)&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 06:56:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-layers-events/m-p/1013111#M5907</guid>
      <dc:creator>mody_buchbinder</dc:creator>
      <dc:date>2020-12-31T06:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Layers events</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-layers-events/m-p/1013342#M5912</link>
      <description>&lt;P&gt;Yeah, I don't see an easy way to do that.&lt;/P&gt;&lt;P&gt;Maybe try maintaining a List&amp;lt;string&amp;gt; somewhere and populate it with each layer's serialized definition.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That way, when the after DrawCompleteEvent fires you could loop through each layer, serialize its definition and compare with the string in the list to see if anything has changed (like labeling, layer name etc.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jan 2021 17:08:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/getting-layers-events/m-p/1013342#M5912</guid>
      <dc:creator>KirkKuykendall1</dc:creator>
      <dc:date>2021-01-01T17:08:04Z</dc:date>
    </item>
  </channel>
</rss>

