Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to add right-click menu to a tree view control

How to add right-click menu to a tree view control

Scheduled Pinned Locked Moved C#
data-structureshelptutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    deejagan
    wrote on last edited by
    #1

    Can anyone please tell me how to add a right-click menu to a tree view control? Any help is appreciated. Thanks!

    A 1 Reply Last reply
    0
    • D deejagan

      Can anyone please tell me how to add a right-click menu to a tree view control? Any help is appreciated. Thanks!

      A Offline
      A Offline
      Andrew Kirillov
      wrote on last edited by
      #2

      Hello You need to use ContectMenu property of TreeView. With best regards, Andrew Kirillov, MCP x 3 Prize winner, August 2005

      D 1 Reply Last reply
      0
      • A Andrew Kirillov

        Hello You need to use ContectMenu property of TreeView. With best regards, Andrew Kirillov, MCP x 3 Prize winner, August 2005

        D Offline
        D Offline
        deejagan
        wrote on last edited by
        #3

        Hi, Thanks for your reply. But in spite of setting the contextMenu for the tree view control, I am not able to see the menu upon right-click. Sorry if my question is silly. I still do not understand how to associate this Menu to the right-click of the tree view item.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups