Gets or sets the context menu of this AnnAutomationObject.
public virtual ContextMenu ContextMenu { get; set; }
Public Overridable Property ContextMenu As ContextMenu
public:
virtual property ContextMenu^ ContextMenu {
ContextMenu^ get();
void set ( ContextMenu^ );
}
The context menu of this AnnAutomationObject.
The Context Menu is displayed whenever an annotation object associated with this automation object is right-clicked by the mouse in design mode. You can use this context menu directly or you can derive your own classes from the System.Windows.Controls.ContextMenu class and assign it to this value. Setting this value to null (Nothing in VB) disables showing the context menu for this object in design mode. For information regarding default context menus used throughout the user interface in the automated mode, including information on how to override the default values, refer to Localization of LEADTOOLS for .NET WPF Annotations Automation.
For C#/VB examples, refer to AnnAutomationManager.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET