Compartir a través de


ContextMenuService.GetPlacementRectangle(DependencyObject) Método

Definición

Obtiene el valor de la propiedad PlacementRectangle del objeto especificado.

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

Parámetros

element
DependencyObject

Objeto que se va a consultar sobre la propiedad PlacementRectangle.

Devoluciones

Valor de la propiedad PlacementRectangle.

Atributos

Se aplica a