ContextMenuService.SetPlacementRectangle(DependencyObject, Rect) Yöntem

Tanım

Belirtilen nesnenin PlacementRectangle özelliğinin değerini ayarlar.

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)

Parametreler

element
DependencyObject

Değerin ayarlanacağı nesne.

value
Rect

Ayarlanacağı değer.

Şunlara uygulanır