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 DannyP96, 05-18-2026, 02:38 PM
      1 response
      85 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      143 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      83 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      257 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      334 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X