<?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: Separators and ButtonPalettes in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/separators-and-buttonpalettes/m-p/1499109#M11774</link>
    <description>&lt;P&gt;That works, thank you!&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jun 2024 15:08:06 GMT</pubDate>
    <dc:creator>SteveCole</dc:creator>
    <dc:date>2024-06-28T15:08:06Z</dc:date>
    <item>
      <title>Separators and ButtonPalettes</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/separators-and-buttonpalettes/m-p/1498672#M11770</link>
      <description>&lt;P&gt;Trying to figure out what I'm missing because the SDK documentation isn't quite explaining it. I'm trying to consolidate commands in my add-in to reduce the window pane dancing so I have an "edit" group where I've incorporated many of the standard edit tools. In the DAML it's set up like such:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;		  &amp;lt;group id="Editing_Tools" caption="Editing Tools" appearsOnAddInTab="true" keytip="ET"&amp;gt;
			  &amp;lt;button refID="esri_mapping_selectToolPalette" size="large"/&amp;gt;
			  &amp;lt;button refID="esri_mapping_clearSelectionButton" size="large"/&amp;gt;
			  &amp;lt;button refID="esri_editing_ShowAttributes" size="large"/&amp;gt;
			  &amp;lt;buttonPalette refID="Editing_Tool_Commands" size="large"/&amp;gt;
			  &amp;lt;button refID="esri_editing_SaveEditsBtn" size="large"/&amp;gt;
			  &amp;lt;button refID="esri_editing_DiscardEditsBtn" size="large"/&amp;gt;
			  &amp;lt;button refID="esri_geoprocessing_toolsButton" size="large"/&amp;gt;
		  &amp;lt;/group&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the middle, you can see I'm using a buttonPalette to group together can save some screen real estate. The buttonPalette has been set up like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;		&amp;lt;palettes&amp;gt;
			&amp;lt;buttonPalette id="Editing_Tool_Commands" caption="Edit Operations" dropDown="true" menuStyle="true" showItemCaption="false" keytip="BP"&amp;gt;
				&amp;lt;button refID="esri_editing_EditVerticesMove"/&amp;gt;
				&amp;lt;button refID="esri_editing_EditVerticesRotate"/&amp;gt;
				&amp;lt;button refID="esri_editing_EditVerticesScale"/&amp;gt;
				&amp;lt;button refID="esri_editing_EditVerticesModifyFeature" separator="true"/&amp;gt;
				&amp;lt;button refID="esri_editing_ReplaceGeometry"/&amp;gt;
				&amp;lt;button refID="esri_editing_ExtendTrimFeatures"/&amp;gt;
				&amp;lt;button refID="esri_editing_LineIntersection"/&amp;gt;
				&amp;lt;button refID="esri_editing_SplitCommand" separator="true"/&amp;gt;
				&amp;lt;button refID="esri_editing_ClipCommand"/&amp;gt;
				&amp;lt;button refID="esri_editing_ExplodeFeatures"/&amp;gt;
				&amp;lt;button refID="esri_editing_MergeFeatures" separator="true"/&amp;gt;
				&amp;lt;button refID="esri_editing_BufferFeatures"/&amp;gt;
				&amp;lt;button refID="esri_editing_CopyParallel"/&amp;gt;
			&amp;lt;/buttonPalette&amp;gt;
		&amp;lt;/palettes&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've specified the separator="true" option on a few entries so that the dropdown&amp;nbsp; would show a divider between groups of edit tools. Unfortunately, when I get into Pro, the menu looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="buttonPaletteSeparator.jpg" style="width: 217px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108189iAFFFEC153AA72550/image-size/large?v=v2&amp;amp;px=999" role="button" title="buttonPaletteSeparator.jpg" alt="buttonPaletteSeparator.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;None of the separators show up, so I'm wondering what I have set up incorrectly. The SDK discusses the &lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-Palettes-and-Split-Buttons" target="_blank" rel="noopener"&gt;concept of split buttons&lt;/A&gt; but it's unclear if those work with buttonPalettes. I get the impression from VS that it is not part of buttonPalettes. It *seems* like it is supported if you look at some of the default tools like the Explore Tool so I'm just confused how it actually gets implemented.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="exploreToolSeparator.jpg" style="width: 221px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108190iE9DE09303DB70628/image-size/large?v=v2&amp;amp;px=999" role="button" title="exploreToolSeparator.jpg" alt="exploreToolSeparator.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 20:41:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/separators-and-buttonpalettes/m-p/1498672#M11770</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2024-06-27T20:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Separators and ButtonPalettes</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/separators-and-buttonpalettes/m-p/1498770#M11771</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/146007"&gt;@SteveCole&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try using Menus. I was able to see the separators.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;      &amp;lt;menus&amp;gt;
        &amp;lt;menu id="damlSeparators_ButtonPalette1" caption="Palette Button 1" &amp;gt;
	  &amp;lt;button refID="esri_editing_EditVerticesMove"/&amp;gt;
	  &amp;lt;button refID="esri_editing_EditVerticesRotate"/&amp;gt;
	  &amp;lt;button refID="esri_editing_EditVerticesScale"/&amp;gt;
	  &amp;lt;button refID="esri_editing_EditVerticesModifyFeature" separator="true"/&amp;gt;
	  &amp;lt;button refID="esri_editing_ReplaceGeometry"/&amp;gt;
	  &amp;lt;button refID="esri_editing_ExtendTrimFeatures"/&amp;gt;
	  &amp;lt;button refID="esri_editing_LineIntersection"/&amp;gt;
	  &amp;lt;button refID="esri_editing_SplitCommand" separator="true"/&amp;gt;
	  &amp;lt;button refID="esri_editing_ClipCommand"/&amp;gt;
	  &amp;lt;button refID="esri_editing_ExplodeFeatures"/&amp;gt;
	  &amp;lt;button refID="esri_editing_MergeFeatures" separator="true"/&amp;gt;
	  &amp;lt;button refID="esri_editing_BufferFeatures"/&amp;gt;
	  &amp;lt;button refID="esri_editing_CopyParallel"/&amp;gt;
        &amp;lt;/menu&amp;gt;
      &amp;lt;/menus&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 27 Jun 2024 23:19:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/separators-and-buttonpalettes/m-p/1498770#M11771</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2024-06-27T23:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Separators and ButtonPalettes</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/separators-and-buttonpalettes/m-p/1499109#M11774</link>
      <description>&lt;P&gt;That works, thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 15:08:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/separators-and-buttonpalettes/m-p/1499109#M11774</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2024-06-28T15:08:06Z</dc:date>
    </item>
  </channel>
</rss>

