<?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 Dockpane visible event trigger three times in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/dockpane-visible-event-trigger-three-times/m-p/1003345#M5761</link>
    <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one dockpane, when it is visible try to display warning message based on the condition.&lt;/P&gt;&lt;P&gt;I am using pro 2.6 sdk .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The method I overwrite is =&amp;gt; protected override void OnShow(bool isVisible)&lt;/P&gt;&lt;P&gt;For the first dockpane open is good, with dockpane.show(), but second time click,&lt;/P&gt;&lt;P&gt;It hit OnShow three times, IsVisible =&amp;gt; True, False,True&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any workaround about that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;</description>
    <pubDate>Fri, 20 Nov 2020 06:03:18 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-11-20T06:03:18Z</dc:date>
    <item>
      <title>Dockpane visible event trigger three times</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/dockpane-visible-event-trigger-three-times/m-p/1003345#M5761</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one dockpane, when it is visible try to display warning message based on the condition.&lt;/P&gt;&lt;P&gt;I am using pro 2.6 sdk .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The method I overwrite is =&amp;gt; protected override void OnShow(bool isVisible)&lt;/P&gt;&lt;P&gt;For the first dockpane open is good, with dockpane.show(), but second time click,&lt;/P&gt;&lt;P&gt;It hit OnShow three times, IsVisible =&amp;gt; True, False,True&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any workaround about that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 06:03:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/dockpane-visible-event-trigger-three-times/m-p/1003345#M5761</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-11-20T06:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dockpane visible event trigger three times</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/dockpane-visible-event-trigger-three-times/m-p/1003570#M5765</link>
      <description>&lt;P&gt;I tried this with release 2.6 and i cannot see your issue.&amp;nbsp; I get isVisible == false when the dockpane hides and isVisible == true when the dockpane is displayed.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:17:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/dockpane-visible-event-trigger-three-times/m-p/1003570#M5765</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-11-20T18:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dockpane visible event trigger three times</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/dockpane-visible-event-trigger-three-times/m-p/1003889#M5772</link>
      <description>&lt;P&gt;Thank&amp;nbsp;@Anonymous User&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I did try with brand new project and it does working well, a part from that sometime first load got 3 onshow call.&lt;/P&gt;&lt;P&gt;But after testing several time, it is working as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the existing projects seem to be problematic, not sure which is causing this behaviour yet.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 09:11:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/dockpane-visible-event-trigger-three-times/m-p/1003889#M5772</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-11-23T09:11:48Z</dc:date>
    </item>
  </channel>
</rss>

