IXRToolTip::SetPlacementTarget (Compact 2013)

3/28/2014

This method sets the value of the Placement property.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetPlacementTarget(
    __in  IXRUIElement*   PlacementTarget
) = 0;

Parameters

  • PlacementTarget
    [in] Pointer to an object derived from IXRUIElement that defines 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 success or failure.

Remarks

In XAML for Windows Embedded, tooltips are always placed relative to the mouse cursor position, regardless of the value of the Placement property. Any Placement value other than XRPlacementMode_Mouse is ignored.

.NET Framework Equivalent

System.Windows.Controls.ToolTip.SetPlacementTarget

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRToolTip
XRPlacementMode