Welcome Guest Search | Active Topics | Sign In | Register

MenuItem - add images? Options
serializer
Posted: Monday, August 8, 2016 3:47:41 AM
Rank: Advanced Member
Groups: Member

Joined: 5/9/2016
Posts: 84
I am looking at the contextmenu: http://www.essentialobjects.com/Products/WebBrowser/ContextMenu.aspx

Is it possible to add images to a menuitem?
eo_support
Posted: Monday, August 8, 2016 10:46:31 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

It is not possible for you to add images to the built-in context menu. However you can cancel the built-in context menu (by calling e.ContextMenu.Clear()) and display your own context menu in your BeforeContextMenu event handler. That way you can use whatever you want in your own context menu.

Thanks!
serializer
Posted: Monday, August 8, 2016 12:03:37 PM
Rank: Advanced Member
Groups: Member

Joined: 5/9/2016
Posts: 84
Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.