Редагувати

Поділитися через


ContextMenuService.GetPlacementTarget(DependencyObject) Method

Definition

Gets the value of the PlacementTarget property of the specified object.

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

Parameters

element
DependencyObject

Object to query concerning the PlacementTarget property.

Returns

Value of the PlacementTarget property.

Attributes

Applies to