共用方式為


WpfUtil.ComputeContextMenuPositionForControl 方法

命名空間:  Microsoft.TeamFoundation.Controls.WPF
組件:  Microsoft.TeamFoundation.Controls (在 Microsoft.TeamFoundation.Controls.dll 中)

語法

'宣告
Public Shared Function ComputeContextMenuPositionForControl ( _
    control As Control, _
    position As Point, _
    keyboardInvoke As Boolean _
) As Point
public static Point ComputeContextMenuPositionForControl(
    Control control,
    Point position,
    bool keyboardInvoke
)

參數

傳回值

型別:System.Windows.Point

.NET Framework 安全性

請參閱

參考

WpfUtil 類別

Microsoft.TeamFoundation.Controls.WPF 命名空間