Dela via


ToolTipService.GetPlacementTarget(DependencyObject) Method

Definition

Gets the ToolTipService.PlacementTarget XAML attached property value for the specified target element.

public:
 static UIElement ^ GetPlacementTarget(DependencyObject ^ element);
 static UIElement GetPlacementTarget(DependencyObject const& element);
public static UIElement GetPlacementTarget(DependencyObject element);
function getPlacementTarget(element)
Public Shared Function GetPlacementTarget (element As DependencyObject) As UIElement

Parameters

element
DependencyObject

The target element for the attached property value.

Returns

The visual element that the tooltip is positioned relative to.

Applies to

See also