ContextMenuService.GetPlacementTarget(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.