次の方法で共有


IXRPopup::SetChild (Compact 2013)

3/28/2014

This method sets the content to be hosted in the popup.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetChild(
    __in IXRUIElement *pChild
) = 0;

Parameters

  • pChild
    [in] Pointer to the IXRUIElement that is the child of this IXRPopup object.

Return Values

Returns a standard HRESULT value.

Remarks

The Child property can be any single IXRUIElement. In order to host multiple items, create an IXRUserControl or host the content in a container, such as IXRStackPanel or IXRGrid. A popup will always appear over existing content that includes other popup controls.

.NET Framework Equivalent

System.Windows.Controls.Primitives.Popup.Child

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPopup