次の方法で共有


IXRPanel::GetChildren (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the collection of child elements of the panel.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetChildren(
    IXRUIElementCollection **ppChildren
) = 0;

Parameters

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, or you can use implicit collection syntax defined by Microsoft Silverlight 2 XAML, such as a parent <StackPanel.Children> element, in the source XAML that is parsed at run time by your application. For information about the differences between XAML in Silverlight for Windows Embedded and Silverlight 2, see Differences Between Silverlight for the Web and Silverlight for Windows Embedded. For more information about how to define this collection for an inheriting element in the source XAML for your application, see this Microsoft Web site.

.NET Framework Equivalent

System.Windows.Controls.Panel.Children

Requirements

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

See Also

Reference

IXRPanel