Compartilhar via


ContextMenuService.GetPlacementTarget(DependencyObject) Método

Definição

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

Retornos

UIElement

Valor da propriedade PlacementTarget.

Atributos

Aplica-se a