แก้ไข

แชร์ผ่าน


ContextMenuService.SetPlacementRectangle(DependencyObject, Rect) Method

Definition

Sets the value of the PlacementRectangle property of the specified object.

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

Parameters

element
DependencyObject

Object to set the value on.

value
Rect

Value to set.

Applies to