Compartilhar via


ContextMenuService.GetPlacementRectangle(DependencyObject) Método

Definição

Obtém o valor da propriedade PlacementRectangle do 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 a ser consultado referente à propriedade PlacementRectangle.

Retornos

Rect

Valor da propriedade PlacementRectangle.

Atributos

Aplica-se a