ContextMenuService.GetContextMenu(DependencyObject) 메서드

정의

지정된 개체의 ContextMenu 속성 값을 가져옵니다.

public:
 static System::Windows::Controls::ContextMenu ^ GetContextMenu(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Windows.Controls.ContextMenu GetContextMenu (System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetContextMenu : System.Windows.DependencyObject -> System.Windows.Controls.ContextMenu
Public Shared Function GetContextMenu (element As DependencyObject) As ContextMenu

매개 변수

element
DependencyObject

ContextMenu 속성과 관련된 쿼리할 개체입니다.

반환

ContextMenu

ContextMenu 속성의 값입니다.

특성

적용 대상