다음을 통해 공유


ContextMenuService.SetPlacement(DependencyObject, PlacementMode) 메서드

정의

지정된 개체의 Placement 속성 값을 설정합니다.

public:
 static void SetPlacement(System::Windows::DependencyObject ^ element, System::Windows::Controls::Primitives::PlacementMode value);
public static void SetPlacement (System.Windows.DependencyObject element, System.Windows.Controls.Primitives.PlacementMode value);
static member SetPlacement : System.Windows.DependencyObject * System.Windows.Controls.Primitives.PlacementMode -> unit
Public Shared Sub SetPlacement (element As DependencyObject, value As PlacementMode)

매개 변수

element
DependencyObject

값을 설정할 개체입니다.

value
PlacementMode

설정할 값입니다.

적용 대상