Gets the location in the document for which the menu items have been generated. The generated items depend on this location. The property value can be a combination (bitwise or) of the ContextMenuLocation values.

Syntax

public ContextMenuLocation ContextMenuLocation { get; }
Public ReadOnly Property ContextMenuLocation() As ContextMenuLocation

Limitations

Read only.