다음을 통해 공유


ContextMenuService.GetPlacement(DependencyObject) 메서드

정의

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

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

매개 변수

element
DependencyObject

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

반환

PlacementMode

Placement 속성의 값입니다.

특성

적용 대상