PluginComponent.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.

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

Syntax

protected virtual void OnRightClick (
    ContextMenu contextMenu,
    string guidNode
)
'Declaration
Protected Overridable Sub OnRightClick ( _
    contextMenu As ContextMenu, _
    guidNode As String _
)

Parameters

  • contextMenu
    A menu to display. Clear the items if you wish no menu to display, or add menu items to it as you wish.
  • guidNode
    The GUID of the node the user clicked on.

Remarks

This function is called only if the node the user clicked on does not have a IPluginData object associated with it.

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

PluginComponent Class
PluginComponent Members
Microsoft.RemoteToolSdk.PluginComponents Namespace