<?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: How to open layout element property pane to particular subpanel? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-layout-element-property-pane-to/m-p/870910#M5178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;1. Currently there is no way to display the Layout Properties at the correct Tab using the API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You can edit Layout Element properties using their "CIM" definition.&amp;nbsp; For example, in the code snippet below, a Line Graphic element is created and its properties are set using the CIM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;GraphicElement lineElm &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; LayoutElementFactory&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Instance&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CreateLineGraphicElement&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;layout&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; polylineTic&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; lineSym&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
CIMElement cimElement &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; lineElm&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetDefinition&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;//Get the element's CIM Definition.&lt;/SPAN&gt;
cimElement&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Name &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Set Line Name"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;//Set's its name&lt;/SPAN&gt;
cimElement&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Anchor &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Anchor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;BottomLeftCorner&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;//You can set many other properties here.&lt;/SPAN&gt;
lineElm&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;SetDefinition&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;cimElement&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;//Reset the definition back.&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 10:52:09 GMT</pubDate>
    <dc:creator>UmaHarano</dc:creator>
    <dc:date>2021-12-12T10:52:09Z</dc:date>
    <item>
      <title>How to open layout element property pane to particular subpanel?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-layout-element-property-pane-to/m-p/870909#M5177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want a user to be able to click a button which will open the style properties for an element in a layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a layout open, I can programmatically select&amp;nbsp;the element from the layout (in this case, a text symbol), which will automatically open the ArcPro "Format Text" dockpane. This dockpane has multiple tabs and panels, however, and I'd like to have it automatically open to the "Text Symbol" tab's "Properties" subpanel. Is it possible to do that? Currently, it opens to the Text tab, and it takes several clicks to navigate to the actual font styling properties of interest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd also be interested to know if there are other options for editing a layout symbol element's properties. Ideally, I'd like to open my own dialog/dockpane which has the contents of that particular subpanel from ArcPro's properties dockpane, but it&amp;nbsp;doesn't look like that is accessible.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 16:55:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-layout-element-property-pane-to/m-p/870909#M5177</guid>
      <dc:creator>BrennanJohnson</dc:creator>
      <dc:date>2020-02-10T16:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to open layout element property pane to particular subpanel?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-layout-element-property-pane-to/m-p/870910#M5178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;1. Currently there is no way to display the Layout Properties at the correct Tab using the API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You can edit Layout Element properties using their "CIM" definition.&amp;nbsp; For example, in the code snippet below, a Line Graphic element is created and its properties are set using the CIM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;GraphicElement lineElm &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; LayoutElementFactory&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Instance&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CreateLineGraphicElement&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;layout&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; polylineTic&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; lineSym&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
CIMElement cimElement &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; lineElm&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetDefinition&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;//Get the element's CIM Definition.&lt;/SPAN&gt;
cimElement&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Name &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Set Line Name"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;//Set's its name&lt;/SPAN&gt;
cimElement&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Anchor &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Anchor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;BottomLeftCorner&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;//You can set many other properties here.&lt;/SPAN&gt;
lineElm&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;SetDefinition&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;cimElement&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;//Reset the definition back.&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:52:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-layout-element-property-pane-to/m-p/870910#M5178</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2021-12-12T10:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to open layout element property pane to particular subpanel?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-layout-element-property-pane-to/m-p/870911#M5179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply, Uma. Yes, we are manipulating CIMSymbols in code as you demonstrate above, and were mainly hoping to tie in a user-friendly UI component so that users could make their own customizations to particular properties of particular elements we are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be extremely convenient if Esri could expose both the controls (like the ArcGIS.Desktop.Internal.Mapping.Symbology.DoubleEditBox) as well as control groups (like the font and symbol styling control groups from the Format Element pane) in the .NET SDK so that we can use them in our own custom dockpanes to allow users to select the exact element properties we are interested in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for confirming that such an option does not currently exist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 15:55:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-layout-element-property-pane-to/m-p/870911#M5179</guid>
      <dc:creator>BrennanJohnson</dc:creator>
      <dc:date>2020-02-12T15:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to open layout element property pane to particular subpanel?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-layout-element-property-pane-to/m-p/870912#M5180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the feedback. I will let you know when these controls are on the pipeline for future releases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 18:28:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-layout-element-property-pane-to/m-p/870912#M5180</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2020-02-14T18:28:01Z</dc:date>
    </item>
  </channel>
</rss>

