콘텐츠로 이동

ContextMenu.PlacementTarget property

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

Gets the element the menu last opened on. Set by Show and kept until the next show, so a handler that runs after the menu closed can still read it.

public UIElement? PlacementTarget { get; }