콘텐츠로 이동

ContextMenu.Show method (1 of 2)

이 콘텐츠는 아직 번역되지 않았습니다.

Opens the menu on the target as Placement directs. Pointer placement opens at the current pointer position.

public void Show(UIElement placementTarget)

Opens the menu at an explicit window position (a caret, a stored press point), regardless of Placement. The menu and its submenus stay where they opened if the window moves.

public void Show(UIElement placementTarget, Point positionInWindow)