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 .

특성

적용 대상