<?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 OnShow called multiple times on dockpane initialization in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/onshow-called-multiple-times-on-dockpane/m-p/858904#M4652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If a dockpane was visible on ArcGIS Pro closing, next time the dockpane will be opened on ArcGIS Pro start. But its method &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic10423.html"&gt;OnShow&lt;/A&gt; will be called multiple times with &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic10431.html"&gt;IsVisible&lt;/A&gt; switched from &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;true&lt;/SPAN&gt; to &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;false&lt;/SPAN&gt; and then from &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;false&lt;/SPAN&gt; to &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;true&lt;/SPAN&gt;. Why is this happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to place some logic on switching dockpane's visibility, but with the described behavior this logic will be executed multiple times with undesireable effects. My task is to determine on ArcGIS Pro start if a dockpane will be visible or not and at now I don't see reliable method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2018 16:14:13 GMT</pubDate>
    <dc:creator>MaxMax2</dc:creator>
    <dc:date>2018-09-25T16:14:13Z</dc:date>
    <item>
      <title>OnShow called multiple times on dockpane initialization</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/onshow-called-multiple-times-on-dockpane/m-p/858904#M4652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If a dockpane was visible on ArcGIS Pro closing, next time the dockpane will be opened on ArcGIS Pro start. But its method &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic10423.html"&gt;OnShow&lt;/A&gt; will be called multiple times with &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic10431.html"&gt;IsVisible&lt;/A&gt; switched from &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;true&lt;/SPAN&gt; to &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;false&lt;/SPAN&gt; and then from &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;false&lt;/SPAN&gt; to &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;true&lt;/SPAN&gt;. Why is this happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to place some logic on switching dockpane's visibility, but with the described behavior this logic will be executed multiple times with undesireable effects. My task is to determine on ArcGIS Pro start if a dockpane will be visible or not and at now I don't see reliable method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 16:14:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/onshow-called-multiple-times-on-dockpane/m-p/858904#M4652</guid>
      <dc:creator>MaxMax2</dc:creator>
      <dc:date>2018-09-25T16:14:13Z</dc:date>
    </item>
  </channel>
</rss>

