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
291
menu item groups
posted

Hi!

 I'm creating a IGContextMenu with  several IGMenuItem items. They all have icons and they ar shown in the context menu. But If I add IGMenuItem items to another IGMenuItem item (sub menu/folder in the context menu), then icons are not shown in the added childeren items.

I want menu item groups (IGMenuItem items with IGMenuItem items as childeren) to display icons as well. How do I do that?

Parents
No Data
Reply
  • 69832
    Offline posted

    IGMenuItem exposes an Image property, so you just assign a value to that property. Images are displayed regardless of the item's placement within the hierarchy.

Children