How can i raise the event, that is triggered by the context menu, manually?
I want to use the indent and outdent function, add new task and substask, deleting a task, open the task... without clicking in context menu...
any ideas?
That would be my solution. But the menu is nothing if it was not opend a first time.
Dim item As GanttViewContextMenuItem = UltraGanttView.ContextMenu.MenuItems("InsertTask")item.PerformClick()
There is an OnContextMenuInitializing event-raising method, but it is protected, and besides that it does not cause the context menu to display. All the actions that are performed when you click a menu item can be performed programmatically, however.