Share via


IXRToolTip::GetPlacementTarget (Compact 2013)

3/28/2014

This method retrieves the value of the PlacementTarget property.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetPlacementTarget(
    __out IXRUIElement** pPlacementTarget
) = 0;

Parameters

  • pPlacementTarget
    [out] Pointer to a pointer to an object derived from IXRUIElement that represents the visual element or control in relation to which the tooltip should be positioned. The default is null.

Return Value

Returns an HRESULT that indicates whether or not the method succeeded.

Remarks

The PlacementTarget property has no effect on the placement of tooltips in XAML for Windows Embedded.

.NET Framework Equivalent

System.Windows.Controls.ToolTip.SetPlacementTarget

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRToolTip