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 Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      626 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      359 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      562 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      567 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X