Share via


IXRPopup::SetVerticalOffset (Compact 2013)

3/28/2014

This method sets the distance between the top of the parent control and the top of the popup.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetVerticalOffset(
    __in float VerticalOffset
) = 0;

Parameters

  • VerticalOffset
    [in] A float that specifies the distance between top of the parent control and the top of the popup 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.VerticalOffset

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPopup