The CreateDefaultObjectContextMenu Method supports WPF/Silverlight.
The CreateDefaultObjectContextMenu Method is available in LEADTOOLS Document and Medical Imaging toolkits.
- id
- The ID of the AnnAutomationObject.
Visual Basic (Declaration) | |
---|---|
Public Shared Function CreateDefaultObjectContextMenu( _ ByVal id As Integer _ ) As ContextMenu |
Visual Basic (Usage) | Copy Code |
---|---|
Dim id As Integer Dim value As ContextMenu value = AnnAutomationManager.CreateDefaultObjectContextMenu(id) |
C# | |
---|---|
public static ContextMenu CreateDefaultObjectContextMenu( int id ) |
C++/CLI | |
---|---|
public: static ContextMenu^ CreateDefaultObjectContextMenu( int id ) |
Parameters
- id
- The ID of the AnnAutomationObject.
Return Value
The default System.Windows.Controls.ContextMenu used in AnnAutomationObject.ContextMenu.For C#/VB examples, refer to AnnAutomationManager.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)