IXRPanel::GetChildren (Compact 2013)
3/28/2014
This method retrieves the collection of child elements of the panel.
Syntax
virtual HRESULT STDMETHODCALLTYPE GetChildren(
__out IXRUIElementCollection **ppChildren
) = 0;
Parameters
- ppChildren
[out] Address of a pointer to an IXRUIElementCollection object that contains an ordered collection of IXRUIElement objects.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
To add items or otherwise adjust the existing child elements, you can use the inherited methods in the IXRUIElementCollection class. Alternatively, you can use implicit collection syntax defined by Microsoft Silverlight 3 XAML, such as <object> oneOrMoreUIElements </object>
, in the source XAML that your application parses at run time. For information about the differences between XAML in XAML for Windows Embedded and Silverlight 3, see Differences Between Microsoft Silverlight 3 and XAML for Windows Embedded. For more information about how to define this collection for an inheriting element in the source XAML for your application, see Panel.Children Property on MSDN.
.NET Framework Equivalent
System.Windows.Controls.Panel.Children
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |