Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6043157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:52:07+00:00 2026-05-23T06:52:07+00:00

I can add an icon to a menu item by adding an <icon> to

  • 0

I can add an icon to a menu item by adding an <icon> to the <button> element in the in the *.vsct file of my Visual Studio Package.

Unfortunately the <icon>issn’t available available in a <menu> element.

How can i add an icon to a submenu?

It is possible to do this from code (preferibly C#)?
Maybe via injecting something into the COM / OLE layer?

TortoiseSVN has a icon in the explorer popup menu, have you ever seen a VS plugin that does this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T06:52:08+00:00Added an answer on May 23, 2026 at 6:52 am

    Unfortunately this isn’t possible using VS menus (not with vsct, C#, etc), and they’re not very extensible in this regard. However, depending on what you’re trying to do, (e.g. if you’re looking to do this in a context menu within a tool window rather than the VS menu bar), you may be able to use WPF context menus which should give you the control you need.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can add a new item for the folders right click menu using registry:
I know I can add a icon to the Resources.resx file of a project
How can I add a custom icon to my android menu the code below
I want to add a menu item for the OS X Dock Trash icon.
How can I add an icon to the alphabetic keyboard in my iPhone app,
How can I add an additional icon to the Name/Lable of app, just the
I have a tab menu where users can add and delete tabs like they
Possible Duplicate: how to add icon to context menu in c# windows form application
I tried to add an icon to one of my context menu items, but
I need to add a context-sensitive menu to file icons in the finder. So

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.