Is there a way to display an Image in the PopupContainerEdit display region. (not the popupcontrol)
PopupContainerEdit - Display Image
Answers
Hi Frank,
I'm afraid this cannot be done. Buttons can be located on the left and right sides of the editor only. If you need a centered image, create an editor descendant. Please refer to the Custom Editors help topic to learn more about how to create our editor descendant. Attached is a sample project that illustrates this approach.
Thanks,
Ted
Hi
how to override the displaytext? i set the popupcontrol to contains a richtextedit. after post, the displaytext of richtextedit also shown. how to make it only show image doesn't show text.
Hello,
To process your recent post more efficiently, I created a separate ticket on your behalf: T251002: How to show an image without a text in PopupContainerEdit. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.
Hi Frank,
Thank you for your message.
Yes, it is possible. The easiest way to get it done is to create a new editor button with the EditorButton.Image property set to any image and the EditorButton.Kind property - to Glyph. Then, add this button to the RepositoryItemPopupContainerEdit.Buttons collection.
We hope that you find this information helpful.
Thanks,
Svetlana
Using your suggestion, is there an easy to get the glyph'd button centered with the drop down button still in place on the right?