I need to use the alignMiddle-command in my ArcGIS Pro Add-in, for aligning some elements on the layout. I've seen the article about Reusing Pro Command in the ProGuide. When I add the button for "esri_layouts_alignMiddle" in config.daml I'm able to run the command.
Is it possible to run this command without having to add the button to the ribbon?