Add Objects Right Click
Hi,
In Winforms V2 there is a FormEnabled property in the AddObjectFormOptions class. Is there something like that for V3? In addition are there any other options to remove that right click context menu?
Thanks
Hi,
In Winforms V2 there is a FormEnabled property in the AddObjectFormOptions class. Is there something like that for V3? In addition are there any other options to remove that right click context menu?
Thanks
Hello, Nam.
You can alter context menus using the ValidateContextMenu event. Read this article and find the sample on GitHub for details.
In the event handler, you should check that queryelement is UnionSubQuery and sender is IDesignPaneControl.