BarPopupButtonCommand's losing 'arrow' when image used

Docking/MDI for Windows Forms Forum

Posted 13 years ago by John Mancine
As soon as I add an image to a popup button, the small black triangle on the right of the popup button disapears. Everything else functions fine, but it looks confusing for the user. I have tried using an Image as well as an ImageIndex and both have the same result.

It's worth nothing that the black triangle shows up and looks fine in the 'customize' preview but in the running application it disappears.

Any ideas?


Comments (2)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Hi John,

The renderer defines a PopupButtonLinkArrowStyle property that you can set. The IBarRenderer renderer interface just defines a "get" for that property but the BarRenderer base class (that all other built-in renderers inherit from) has a setter as well. So if you are going to set this option in code, you can cast the BarManager.RendererResolved property to BarRenderer and then set that property.

It defaults to BarPopupButtonLinkArrowStyle.TextOnly, which matches how Microsoft typically does things. But it seems like you'd want to set it to BarPopupButtonLinkArrowStyle.ImageAndText.

Actipro Software Support

Posted 13 years ago by John Mancine
Perfect! Works great now.

Thanks for the quick reply,
The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.