Share via


IXRPopup::GetHorizontalOffset (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the distance between the left side of the parent control and the left side of the popup.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetHorizontalOffset(
    __out float *pHorizontalOffset
) = 0;

Parameters

  • pHorizontalOffset
    [out] Pointer to a float that indicates the offset in pixels.

Return Values

Returns a standard HRESULT value.

Remarks

By default, the popup displays in the upper-left corner of the parent content. You can change this positioning by setting the HorizontalOffset and VerticalOffset properties.

.NET Framework Equivalent

System.Windows.Controls.Primitives.Popup.HorizontalOffset

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRPopup