<?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: ArcGIS Pro Dockpane - Set Position/Width/Height Via Code in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-dockpane-set-position-width-height-via/m-p/789863#M1445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be really nice to be able to float (unpin) a docking pane and remove it's ability to be docked. Also it would be great to be able to center the window or&amp;nbsp;place it's top left corner relative to other panes. I suppose I want a modal window that users can be prompted to perform an action and get the pane out of the way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jul 2018 00:27:15 GMT</pubDate>
    <dc:creator>stevegourley</dc:creator>
    <dc:date>2018-07-20T00:27:15Z</dc:date>
    <item>
      <title>ArcGIS Pro Dockpane - Set Position/Width/Height Via Code</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-dockpane-set-position-width-height-via/m-p/789859#M1441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you programmatically set the position/width/height of a floating dockpane, or can this only be controlled in the DAML file?&amp;nbsp; &amp;nbsp;I have a number of dockpanes that have their position set to float, to sort of act like a modal window.&amp;nbsp; I know that "closing" and "opening" these panes are simply toggling their visibility, so if a user drags a floating pane somewhere then closes it, it will appear at that same location the next time the user clicks a button to display the pane.&amp;nbsp; Is there a way I can reset the position so it reappears at the center of the screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2018 17:02:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-dockpane-set-position-width-height-via/m-p/789859#M1441</guid>
      <dc:creator>ChrisSaylor</dc:creator>
      <dc:date>2018-05-07T17:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Dockpane - Set Position/Width/Height Via Code</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-dockpane-set-position-width-height-via/m-p/789860#M1442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="background-color: #ffffff;"&gt;Can you programmatically set the position/width/height of a floating dockpane, or can this only be controlled in the DAML file?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You set the docking behavior in the DAML. You cannot set an explicit position&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="background-color: #ffffff;"&gt;Is there a way I can reset the position so it reappears at the center of the screen?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;No&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2018 17:33:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-dockpane-set-position-width-height-via/m-p/789860#M1442</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2018-05-07T17:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Dockpane - Set Position/Width/Height Via Code</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-dockpane-set-position-width-height-via/m-p/789861#M1443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Am I doing something wrong in my DAML?&amp;nbsp; The Pane is starting up docked and not floating?&amp;nbsp; Plus the width doesn't seem to make the Width correct either?&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;dockPanes&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;dockPane&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;id&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;ProMapBlack_DockTool_MATToolDock&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;caption&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;MAT Tool&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;width&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;750&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;className&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;ProMapBlack.DockTool.MATTool.MATToolDockViewModel&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;dock&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;float&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;condition&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;esri_core_MapPane&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;delayLoadMessage&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;Loading ...&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;content&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;className&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;ProMapBlack.DockTool.MATTool.MATToolDockView&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;dockPane&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;dockPanes&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:02:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-dockpane-set-position-width-height-via/m-p/789861#M1443</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2021-12-12T09:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Dockpane - Set Position/Width/Height Via Code</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-dockpane-set-position-width-height-via/m-p/789862#M1444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you dock the pane, change its width and close Pro, the next time you open the project&amp;nbsp;it will appear exactly the way it was before you closed it.&amp;nbsp; &lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;Use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #24292e; background-color: #ffffff; font-weight: 600;"&gt;dock&lt;/STRONG&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #24292e; background-color: #ffffff; font-weight: 600;"&gt;dockWith&lt;/STRONG&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #24292e; background-color: #ffffff; font-weight: 600;"&gt;autoHide&lt;/STRONG&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;attributes in the config.daml to set the initial docking state of your dockpane only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;Uma&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2018 17:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-dockpane-set-position-width-height-via/m-p/789862#M1444</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2018-06-19T17:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Dockpane - Set Position/Width/Height Via Code</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-dockpane-set-position-width-height-via/m-p/789863#M1445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be really nice to be able to float (unpin) a docking pane and remove it's ability to be docked. Also it would be great to be able to center the window or&amp;nbsp;place it's top left corner relative to other panes. I suppose I want a modal window that users can be prompted to perform an action and get the pane out of the way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 00:27:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-dockpane-set-position-width-height-via/m-p/789863#M1445</guid>
      <dc:creator>stevegourley</dc:creator>
      <dc:date>2018-07-20T00:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Dockpane - Set Position/Width/Height Via Code</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-dockpane-set-position-width-height-via/m-p/789864#M1446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it would be nice to be able to "Set Ideal Position" somehow.&amp;nbsp; I can't seem to get the Height/Width to work initially.&amp;nbsp; I understand that it retains the position you set for it after you close it, but I have a grid in my Dock Pane, and the Grid looks much better at a certain Height/Width.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 13:21:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-dockpane-set-position-width-height-via/m-p/789864#M1446</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2018-07-20T13:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Dockpane - Set Position/Width/Height Via Code</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-dockpane-set-position-width-height-via/m-p/789865#M1447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to put a button on my dockpane that "Sets Ideal Size/Position".&amp;nbsp; I have a grid in the dock that is used, and it doesn't look good unless it is at a certain width and height.&amp;nbsp; How can i set the Width/Height from code?&amp;nbsp; I can't seem to get this to work.&amp;nbsp; I want my users to be able to just click the button to get the window to the ideal width.&amp;nbsp; I understand that initially it will be docked, and then when you move it, it will retain that position.&amp;nbsp; But I want to be able make this easy for a user.&amp;nbsp; Having problems accomplishing this. I know for a Window it is quite easy, but not having much luck doing it for a user control.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 13:44:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-dockpane-set-position-width-height-via/m-p/789865#M1447</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2018-08-15T13:44:51Z</dc:date>
    </item>
  </channel>
</rss>

