I would like to wrap the Text name similar to this for a button in ArcGIS Pro SDK...It would be great if you can help me out in this.
Pro does the wrapping of the button caption. Add-in developers don't have to do this.
You cannot force the caption of a Pro Button to wrap. However, your add-in button's caption will wrap using the same rules as a Pro Button. So for example, if your button caption is "Select by Attributes" you will see the same wrapping behavior as the Pro's Select by Attributes button.
Also, note - The caption for a button can only take up 2 lines on the ribbon. So if you have a really long button caption, it will take up that amount of space on the ribbon.
Thank you for the quick update... Really appreciate... It would be great if you could let me know the Process for wrapping up my custom button caption... What and where do I need to change the settings to wrap up my custom button.
Please find the below image for same...I am not able to wrap the text of the button. Do suggest me how to go ahead.
Please open the config.daml file of you add-in project and find you custom button, then change the text in the caption attribute from "DataPreparation" to "Data Preparation" or "Prepare Data" (please note the space between words). Then rebuild and run the add-in.
Perfect..It worked for me...Thanks a lot....
Retrieving data ...