←Select platform

ShowObjectContextMenu Method

Summary

Displays the object context menu.

Syntax
C#
VB
Java
Objective-C
C++
public virtual void ShowObjectContextMenu() 
Public Overridable Sub ShowObjectContextMenu()  
-(void) showObjectContextMenu; 
public void showObjectContextMenu() 
public:  
   virtual void ShowObjectContextMenu() 

Remarks

Call the CanShowObjectContextMenu property to determine whether the object context menu can be displayed at this time.

This AnnAutomation will call this method when the user right-clicks the mouse cursor over the currently selected (edited) object. If the user clicks outside any selected objects, the ShowContextMenu method will be called instead. You can call this method to display this context menu manually (for example, as a result from clicking on a certain menu item in your application).

The automation framework does not contain any context menu object, instead, the OnShowContextMenu event is fired and it is up to the application to show the UI.

Requirements

Target Platforms

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly