<?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: can I add controls to dock pane in code? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-i-add-controls-to-dock-pane-in-code/m-p/1082251#M6929</link>
    <description>&lt;P&gt;There is a sample that is using a dockpane with a 'tab control' showing a table control for multiple feature layers:&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/esri/arcgis-pro-sdk-community-samples/tree/master/Map-Exploration/TableControlsDockpane" target="_blank"&gt;arcgis-pro-sdk-community-samples/Map-Exploration/TableControlsDockpane at master · Esri/arcgis-pro-sdk-community-samples (github.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I guess you would like to only show the actual selected items which is possible with minor modifications.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jul 2021 16:57:02 GMT</pubDate>
    <dc:creator>Wolf</dc:creator>
    <dc:date>2021-07-23T16:57:02Z</dc:date>
    <item>
      <title>can I add controls to dock pane in code?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-i-add-controls-to-dock-pane-in-code/m-p/1081947#M6917</link>
      <description>&lt;P&gt;I'm trying to build an addin where a user can select features from a map layer and the attribute data associated with the selected features would be displayed in a textarea on the dock pane, with adjacent buttons to copy the content to clipboard. Our users need for each selected feature to have its own textarea/buttons so I can't just create them at design time.&lt;/P&gt;&lt;P&gt;In ArcGIS Desktop I can create new textboxes and buttons and add them to a FlowLayoutPanel, but I don't think that is available in Pro API. Can anyone help?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 20:20:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-i-add-controls-to-dock-pane-in-code/m-p/1081947#M6917</guid>
      <dc:creator>MichaelWen</dc:creator>
      <dc:date>2021-07-22T20:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: can I add controls to dock pane in code?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-i-add-controls-to-dock-pane-in-code/m-p/1082035#M6922</link>
      <description>&lt;P&gt;I suggest you look into ItemsControl in WPF to describe the basic process of adding a list of items to your UI surface. A tutorial introduction, such as this one... &lt;A href="https://www.dotnetcurry.com/wpf/1160/wpf-itemscontrol-fundamentals-part1" target="_blank"&gt;https://www.dotnetcurry.com/wpf/1160/wpf-itemscontrol-fundamentals-part1&lt;/A&gt;, may be helpful in getting started (many others available).&amp;nbsp; From a high level you set the ItemSource of the ItemsControl to be a Collection of items and you dynamically (at run time) fill in this list of these types (one per feature or whatever you want to show on the UI)&amp;nbsp; Then the ItemTemplate controls how each of these is rendered...&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 01:21:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-i-add-controls-to-dock-pane-in-code/m-p/1082035#M6922</guid>
      <dc:creator>John_Jones</dc:creator>
      <dc:date>2021-07-23T01:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: can I add controls to dock pane in code?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-i-add-controls-to-dock-pane-in-code/m-p/1082251#M6929</link>
      <description>&lt;P&gt;There is a sample that is using a dockpane with a 'tab control' showing a table control for multiple feature layers:&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/esri/arcgis-pro-sdk-community-samples/tree/master/Map-Exploration/TableControlsDockpane" target="_blank"&gt;arcgis-pro-sdk-community-samples/Map-Exploration/TableControlsDockpane at master · Esri/arcgis-pro-sdk-community-samples (github.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I guess you would like to only show the actual selected items which is possible with minor modifications.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 16:57:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/can-i-add-controls-to-dock-pane-in-code/m-p/1082251#M6929</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2021-07-23T16:57:02Z</dc:date>
    </item>
  </channel>
</rss>

