Sdílet prostřednictvím


ContextMenuService.SetPlacementRectangle(DependencyObject, Rect) Metoda

Definice

Nastaví hodnotu PlacementRectangle vlastnosti zadaného objektu.

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)

Parametry

element
DependencyObject

Objekt, na který se má hodnota nastavit.

value
Rect

Hodnota, která se má nastavit.

Platí pro