Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Hierarchical context menus

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hierarchical context menus

    Hi, for an indicator that I am developing I would like to add a menu item in the context menu (which pops up at mouse right click) whose label is "Entry A". In addition, I also need to create a list of menuitems which are children of "Entry A". Those children have labels "Entry A1", "Entry A2". I will create click actions if I click under the second level entries "Entry A1" and "Entry A2". Can you help me doing this showing some code example? Thank you so much in advance

    #2
    Hello VFI26,

    You can find an example of manipulating the WPF context menu in the following post:

    Comment


      #3
      Hello Jesse,

      thanks for your answer! I am sorry but in the example that you shared I was not able to find how to create in the context menu a new menu item which has several menu items as children. I mean, creating something like the "Instruments" or "Interval" entries in the default context menu which have a second level of menu item associated to them. Do you have any example on how I can create this?

      Thank you in advance!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      92 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      138 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      122 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      73 views
      0 likes
      Last Post PaulMohn  
      Working...
      X