Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
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 |
| Windows Embedded CE | Windows Embedded CE 6.0 R3 |