ContextMenuService.GetPlacementRectangle(DependencyObject) Metodo

Definizione

Ottiene il valore della proprietà PlacementRectangle dell'oggetto specificato.

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

Parametri

element
DependencyObject

Oggetto su cui eseguire query riguardo alla proprietà PlacementRectangle.

Restituisce

Valore della proprietà PlacementRectangle.

Attributi

Si applica a