Click or drag to resize
SoWinFullViewer.ContextMenu Property
Gets/sets application specific contextual menu.

Namespace: OIV.Inventor.Win.Viewers
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public ContextMenuStrip ContextMenu { get; set; }

Property Value

Type: ContextMenuStrip
The specific application contextual menu.
Remarks

Even if a default contextual menu exists, the property value will be null since the existing type is not assignable to ContextMenuStrip

Setting the property to a non null value will disable the default contextual menu (IsDefaultContextMenuEnabled will return false).

Furthermore, setting IsDefaultContextMenuEnabled to true will also set ContextMenu to null (default value). But setting IsDefaultContextMenuEnabled to false does not set or reset ContextMenu.

See Also