Gets a visual element for which the popup menu is invoked.
public RichEditMenuType MenuType { get; }
Public ReadOnly Property MenuType As RichEditMenuType
If the context menu is invoked to any document element except text, the MenuType property returns the following flag combination: RichEditMenuType.Text | the RichEditMenuType enumeration value corresponding to the target visual element.