ContextMenuAdapter.GetShowContextMenuCommand 方法

命名空间:  Microsoft.TeamFoundation.Controls.WPF
程序集:  Microsoft.TeamFoundation.Controls(在 Microsoft.TeamFoundation.Controls.dll 中)

语法

声明
Public Shared Function GetShowContextMenuCommand ( _
    target As UIElement _
) As ICommand
public static ICommand GetShowContextMenuCommand(
    UIElement target
)

参数

返回值

类型:System.Windows.Input.ICommand
返回 ICommand

.NET Framework 安全性

请参见

参考

ContextMenuAdapter 类

Microsoft.TeamFoundation.Controls.WPF 命名空间