ערוך

שתף באמצעות


ContextMenuService.GetPlacementRectangle(DependencyObject) Method

Definition

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

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

Parameters

element
DependencyObject

Object to query concerning the PlacementRectangle property.

Returns

Value of the PlacementRectangle property.

Attributes

Applies to