<?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 MapMemberPropertiesChangedEvent MapMembers and EventHints Lists in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/mapmemberpropertieschangedevent-mapmembers-and/m-p/1344260#M10632</link>
    <description>&lt;P&gt;Looking at the documentation here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic12753.html" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic12753.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I see:&lt;BR /&gt;"The MapMemberEventHint enumerable and the MapMember enumerable have a one to one mapping."&lt;/P&gt;&lt;P&gt;I have been testing my code in this Event. If I change both minimum and maximum scale on a feature layer, the event fires once and MapMembers (IList&amp;lt;MapMember&amp;gt;) contains three references all to the same MapMember (the feature layer). EventHints (IList&amp;lt;MapMemberEventHint&amp;gt; ) contains EventHints of Any, MinScale, and MaxScale. When I select two feature layers at the same time and change the min and max scales, the event fires twice with the same result as above each time.&lt;/P&gt;&lt;P&gt;What are examples (or are there any?) of a user changing some properties, the event firing, and in that single event there are references to more than one MapMember in MapMembers (IList&amp;lt;MapMember&amp;gt;)? In other words, are the MapMembers in the MapMembers list always all the same? If not, when does it happen?&lt;/P&gt;&lt;P&gt;Looking at the documentation here:&lt;BR /&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic12615.html" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic12615.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I see:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DaveFullerton_0-1698811578637.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84651iFC3A2974B6524A61/image-size/large?v=v2&amp;amp;px=999" role="button" title="DaveFullerton_0-1698811578637.png" alt="DaveFullerton_0-1698811578637.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This description sounds to me like: “Any is the value you will get when a property is changed that is not specifically represented in the rest of this enumeration. When more than one property is changed that is not specifically represented in this enumeration, you will still only get one EventHint of Any.” If that is not correct or complete, please let me know.&lt;/P&gt;&lt;P&gt;When I change the name of a feature layer through the Properties dialog, there are EditHints of Any and Name. When I change the name through the Contents Pane, there is only an EditHint of Name. Why are these cases different?&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2023 04:12:56 GMT</pubDate>
    <dc:creator>DaveFullerton</dc:creator>
    <dc:date>2023-11-01T04:12:56Z</dc:date>
    <item>
      <title>MapMemberPropertiesChangedEvent MapMembers and EventHints Lists</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/mapmemberpropertieschangedevent-mapmembers-and/m-p/1344260#M10632</link>
      <description>&lt;P&gt;Looking at the documentation here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic12753.html" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic12753.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I see:&lt;BR /&gt;"The MapMemberEventHint enumerable and the MapMember enumerable have a one to one mapping."&lt;/P&gt;&lt;P&gt;I have been testing my code in this Event. If I change both minimum and maximum scale on a feature layer, the event fires once and MapMembers (IList&amp;lt;MapMember&amp;gt;) contains three references all to the same MapMember (the feature layer). EventHints (IList&amp;lt;MapMemberEventHint&amp;gt; ) contains EventHints of Any, MinScale, and MaxScale. When I select two feature layers at the same time and change the min and max scales, the event fires twice with the same result as above each time.&lt;/P&gt;&lt;P&gt;What are examples (or are there any?) of a user changing some properties, the event firing, and in that single event there are references to more than one MapMember in MapMembers (IList&amp;lt;MapMember&amp;gt;)? In other words, are the MapMembers in the MapMembers list always all the same? If not, when does it happen?&lt;/P&gt;&lt;P&gt;Looking at the documentation here:&lt;BR /&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic12615.html" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic12615.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I see:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DaveFullerton_0-1698811578637.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84651iFC3A2974B6524A61/image-size/large?v=v2&amp;amp;px=999" role="button" title="DaveFullerton_0-1698811578637.png" alt="DaveFullerton_0-1698811578637.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This description sounds to me like: “Any is the value you will get when a property is changed that is not specifically represented in the rest of this enumeration. When more than one property is changed that is not specifically represented in this enumeration, you will still only get one EventHint of Any.” If that is not correct or complete, please let me know.&lt;/P&gt;&lt;P&gt;When I change the name of a feature layer through the Properties dialog, there are EditHints of Any and Name. When I change the name through the Contents Pane, there is only an EditHint of Name. Why are these cases different?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 04:12:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/mapmemberpropertieschangedevent-mapmembers-and/m-p/1344260#M10632</guid>
      <dc:creator>DaveFullerton</dc:creator>
      <dc:date>2023-11-01T04:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: MapMemberPropertiesChangedEvent MapMembers and EventHints Lists</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/mapmemberpropertieschangedevent-mapmembers-and/m-p/1344569#M10636</link>
      <description>&lt;P&gt;Hi Dave&lt;/P&gt;&lt;P&gt;In majority of the cases, the &lt;SPAN&gt;MapMemberPropertiesChangedEvent&amp;nbsp;&lt;/SPAN&gt;is fired per layer.&amp;nbsp; So,&amp;nbsp;&lt;SPAN&gt;MapMembers in the MapMembers list is always the same layer in the majority of the cases.&amp;nbsp; I am investigating to see if there are any edge cases where this is not true.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regarding the event hint in the changing of the layer name via the Properties page or the Contents pane - that does look like an inconsistency. Thanks for reporting this one!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 18:05:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/mapmemberpropertieschangedevent-mapmembers-and/m-p/1344569#M10636</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2023-11-01T18:05:54Z</dc:date>
    </item>
  </channel>
</rss>

