Partager via


WorkItemsListViewHelperVS.ShowContextMenu Method

Show default/extended context menu

Namespace:  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking
Assembly:  Microsoft.VisualStudio.TeamFoundation.WorkItemTracking (in Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.dll)

Syntax

'Declaration
Public Overrides Sub ShowContextMenu ( _
    view As WorkItemsList, _
    menuPosition As Point, _
    commandHandler As IOleCommandTarget _
)
public override void ShowContextMenu(
    WorkItemsList view,
    Point menuPosition,
    IOleCommandTarget commandHandler
)
public:
virtual void ShowContextMenu(
    WorkItemsList^ view, 
    Point menuPosition, 
    IOleCommandTarget^ commandHandler
) override
abstract ShowContextMenu : 
        view:WorkItemsList * 
        menuPosition:Point * 
        commandHandler:IOleCommandTarget -> unit  
override ShowContextMenu : 
        view:WorkItemsList * 
        menuPosition:Point * 
        commandHandler:IOleCommandTarget -> unit
public override function ShowContextMenu(
    view : WorkItemsList, 
    menuPosition : Point, 
    commandHandler : IOleCommandTarget
)

Parameters

  • view
    Type: WorkItemsList

    Control that shows the menu

  • commandHandler
    Type: IOleCommandTarget

    Command handler that handles the menu.

.NET Framework Security

See Also

Reference

WorkItemsListViewHelperVS Class

Microsoft.VisualStudio.TeamFoundation.WorkItemTracking Namespace