ContextMenuService.GetPlacementTarget(DependencyObject) Metoda

Definice

Získá hodnotu PlacementTarget vlastnosti zadaného objektu.

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

Parametry

element
DependencyObject

Objekt pro dotaz týkající se PlacementTarget vlastnosti.

Návraty

UIElement

PlacementTarget Hodnota vlastnosti.

Atributy

Platí pro