Comparteix a través de


ContextMenuService.GetPlacementTarget(DependencyObject) Método

Definición

Obtiene el valor de la propiedad PlacementTarget del objeto especificado.

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

Parámetros

element
DependencyObject

Objeto que se va a consultar sobre la propiedad PlacementTarget.

Devoluciones

UIElement

Valor de la propiedad PlacementTarget.

Atributos

Se aplica a