PluginData.OnRightClick Method (Compact 7)

3/12/2014

Override this function if your plug-in wishes to react to the user right-clicking on a node in the treeview control differently than the default action ("Copy to Clipboard").

Namespace: Microsoft.RemoteToolSdk.PluginComponents
Assembly: Microsoft.RemoteToolSdk (in microsoft.remotetoolsdk.dll)

Syntax

protected virtual void OnRightClick (
    ContextMenu contextMenu
)
'Declaration
Protected Overridable Sub OnRightClick ( _
    contextMenu As ContextMenu _
)

Parameters

  • contextMenu
    A menu that is already populated with "Copy to Clipboard". Add other items to it as appropriate. Clear the menu items if you wish no menu to display.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

PluginData Class
PluginData Members
Microsoft.RemoteToolSdk.PluginComponents Namespace