Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
235
PopupMenu containing images , no text
posted

Hi,

How do I create a PopupMenu that contains only images? Additionally, the images must retain their width and height (ie not be resized).

I am currently using ButtonTool as the tool, and setting

      button.AppearancesLarge.MenuAppearance.Image = myImage; 

      contextMenu.UseLargeImages = DefaultableBoolean.True;

I guess I'm looking for a DisplayStyle like "ImageOnly".  I've just had a thought that there may be a better tool than ButtonTool for this, but any help will be appreciated.

 Thanks and regards

David D