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

Namespace: OIV.Inventor.Win.Viewers
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.2.2.0 (10.16.2.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 since the existing type is not assignable to ContextMenuStrip

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

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

See Also