Active Query Builder support area

Add Objects Right Click

Avatar
  • updated
  • Completed

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

Avatar
Andrey Zavyalov, PM

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.