<?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: Docking option in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1507348#M11894</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/704437"&gt;@Asimov&lt;/a&gt;thanks for the note. I updated my post so the content relating to step 2 makes sense with the link provided. Jic here's the link again: &lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Map-Pane-Impersonation" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Map-Pane-Impersonation&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jul 2024 16:16:19 GMT</pubDate>
    <dc:creator>jmidtlyng</dc:creator>
    <dc:date>2024-07-19T16:16:19Z</dc:date>
    <item>
      <title>Docking option</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1056033#M6562</link>
      <description>&lt;P&gt;Is it possible to dock using code a dockpane just like the attached image?&lt;/P&gt;&lt;P&gt;Note the the dockpane is dock between the TOC and the catalog and NOT under them (taking the full width of the window).&lt;/P&gt;&lt;P&gt;The only option in the code put the new dockpane so it cover (or make shorter) the toc and catalog.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mody&lt;/P&gt;</description>
      <pubDate>Sun, 09 May 2021 12:44:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1056033#M6562</guid>
      <dc:creator>mody_buchbinder</dc:creator>
      <dc:date>2021-05-09T12:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Docking option</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1098344#M7130</link>
      <description>&lt;P&gt;Well, go through this page &lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-Dockpanes#customize-initial-position" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. I assume you already aware of the dock property but have also a look at the dockWith property.&lt;BR /&gt;A value of 'bottom' for the dock property should do the trick...&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 08:21:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1098344#M7130</guid>
      <dc:creator>TomGeo</dc:creator>
      <dc:date>2021-09-15T08:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Docking option</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1501844#M11821</link>
      <description>&lt;P&gt;Really old topic, but it looks like it's still hard to achieve exactly what&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/413050"&gt;@mody_buchbinder&lt;/a&gt;&amp;nbsp;asked. I'm currently in the same situation, and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7067"&gt;@TomGeo&lt;/a&gt;'s answer is not the solution, since dock="bottom" places the dockpane in a way that it takes the whole horizontal space available, like mody wrote in his post.&lt;/P&gt;&lt;P&gt;I would use&amp;nbsp;dock="group" together with dockWith property, but I couldn't find any example or documentation that shows which dockpanes are placed in the desired position, so I'm still stuck with it.&lt;BR /&gt;&lt;BR /&gt;Mody, did you manage to achieve this? Anyone knows about any "stock" dockpane that opens in the center-bottom spot, or any other workaround that could solve this?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 14:52:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1501844#M11821</guid>
      <dc:creator>Asimov</dc:creator>
      <dc:date>2024-07-05T14:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Docking option</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1503872#M11849</link>
      <description>&lt;P&gt;Can't get there with DockPane. Have to use Pane. Not much documentation on Pane but if you add a new Pane item the boilerplate code does a lot for you.&lt;/P&gt;&lt;P&gt;For me the boilerplate CustomPaneClassName.Create() places the pane in whatever pane is active.&lt;/P&gt;&lt;P&gt;So to work around we did a little slight-of-hand/old-school-jank coding:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Activate ArcPro’s built-in Attribute Table immediately before loading our custom Pane.&lt;UL&gt;&lt;LI&gt;This will activate the Pane referenced in your screenshot.&lt;/LI&gt;&lt;LI&gt;Load our custom pane.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;There is no option for where to open it.&lt;UL&gt;&lt;LI&gt;It will open in the Active pane because of step 1.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Close the ArcPro Attribute Table.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Surprisingly I couldn't tell the ArcPro Attribute Table opened and closed. Happens quickly enough it appears to simply open my custom pane and no others. It also could be the case that my warm work laptop's latency helped make it appear magic.&lt;/P&gt;&lt;P&gt;Here's the admittedly silly code:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;// validate map view
if (MapView.Active is null) return;

// get map ref and validate
var map = MapView.Active.Map;
if (map.MapType != MapType.Map) return;

// validate map layers
if (map.Layers.Count() &amp;gt; 0) {
    // first layer of TOC as placeholder and validate it can load to table content
    var placeholderLayerMapMember = map.Layers.First() as MapMember;

    // validate. If you use other layers, still recommend mapmember validation
    if (FrameworkApplication.Panes.CanOpenTablePane(placeholderLayerMapMember)) {
        // get ArcPros built-in Edit Attributes table pane in order to open the pane below the map. Otherwise could open in map tab
        var standardEditPane = FrameworkApplication.Panes.OpenTablePane(placeholderLayerMapMember) as Pane;

        // build my custom pane and open in active pane
        var pane = MyCustomPaneViewModel.Create();

        // opened my custom pane so can close ArcPros Edit Attributes table pane. Unecissary if you want ArcPros Edit Attributes table to stay open
        // open in parallel pane tab, but closing gives the illusion that only my custom pane opened
        standardEditPane.Close();

        // validate pane
        if (pane is null) return;

        // ... do things with my custom pane
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 21:43:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1503872#M11849</guid>
      <dc:creator>jmidtlyng</dc:creator>
      <dc:date>2024-07-10T21:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Docking option</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1504042#M11852</link>
      <description>&lt;P&gt;This really is an unnecessary headache just to achieve something that easy. Clearly a hole in the sdk architecture I would say, since you can always arrange a DockPane "by hand" anchoring it in that position, which is an evidence that there is nothing preventing it: it seems like we just miss a value for the dock attribute in daml (something like "center-bottom"), and I wonder if this is just an oversight or if there is some other reason for the lack of it.&lt;BR /&gt;&lt;BR /&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/767625"&gt;@jmidtlyng&lt;/a&gt;&amp;nbsp;for the workaround provided anyway, at least we have some way to do it.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 09:54:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1504042#M11852</guid>
      <dc:creator>Asimov</dc:creator>
      <dc:date>2024-07-11T09:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Docking option</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1504521#M11860</link>
      <description>&lt;P&gt;Wow didn't see your reply was only last Friday. Feel like 2 ppl who happened to wander into the same abandoned building at the same time.&lt;/P&gt;&lt;P&gt;Hopefully someone from Esri can show an official way to access, but from what I can tell that specific zone is called a TablePane and is contained within the inaccessible ArcGIS.Desktop.Editing.Internal.TablePane. If you want to kick the black box around a bit yourself the id is &lt;EM&gt;esri_editing_tablePane&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 22:06:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1504521#M11860</guid>
      <dc:creator>jmidtlyng</dc:creator>
      <dc:date>2024-07-11T22:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Docking option</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1507132#M11890</link>
      <description>&lt;P&gt;Back with an official, non-hack approach to do this. Follow the pro-guide here to use a TOCMapPaneProviderPane class for your custom Pane: &lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Map-Pane-Impersonation" target="_blank" rel="noopener"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Map-Pane-Impersonation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Then in the middle of step 2: "Note: Change the value of _dockUnderMapView to true if you want your pane to act like the attribute table pane and dock underneath its "impersonated" map view."&lt;/P&gt;&lt;P&gt;This worked really nicely. Anecdotally we put a custom TableControl in our Pane to build an attribute table with event listeners on highlight.&lt;/P&gt;&lt;P&gt;Not-so-nice alert: Wild a desirable customization seems documented on the fringes under a very confusing class name.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 16:15:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1507132#M11890</guid>
      <dc:creator>jmidtlyng</dc:creator>
      <dc:date>2024-07-19T16:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Docking option</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1507201#M11893</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/767625"&gt;@jmidtlyng&lt;/a&gt;,&amp;nbsp;that sounds promising and I thank you a lot for sharing, but the link you provided is to the API reference of&amp;nbsp;&lt;SPAN&gt;TOCMapPaneProviderPane Class, can you paste the link to the pro guide content that you mention?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 07:49:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1507201#M11893</guid>
      <dc:creator>Asimov</dc:creator>
      <dc:date>2024-07-19T07:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Docking option</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1507348#M11894</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/704437"&gt;@Asimov&lt;/a&gt;thanks for the note. I updated my post so the content relating to step 2 makes sense with the link provided. Jic here's the link again: &lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Map-Pane-Impersonation" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Map-Pane-Impersonation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 16:16:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/docking-option/m-p/1507348#M11894</guid>
      <dc:creator>jmidtlyng</dc:creator>
      <dc:date>2024-07-19T16:16:19Z</dc:date>
    </item>
  </channel>
</rss>

