[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

Adding icons to a context menu

How can I add icons to a contextmenu NOT a mainmenu?
0
dotnet22
Asked:
dotnet22
2 Solutions
 
JigitCommented:
0
 
Chester_M_RagelCommented:
You have to use MenuItem.DrwaItem and MenuItem.MeasureItem property.


check,

http://www.codeproject.com/cs/menu/menuimage.asp
http://www.msjogren.net/dotnet/eng/samples/dotnet_iconmenu.asp

Even though they are for Mainmenu, I don't think there is a major difference between these two.

Chester



0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now