ContextMenuService.GetPlacementTarget(DependencyObject) Metodo

Definizione

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

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

Parametri

element
DependencyObject

Oggetto su cui eseguire una query relativa alla PlacementTarget proprietà .

Valori restituiti

Valore della PlacementTarget proprietà .

Attributi

Si applica a