次の方法で共有


IXRTransformGroup::GetChildren (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the collection of child IXRTransform-derived objects.

Syntax

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

Parameters

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

In a composite transformation, the order of individual transformations is significant. For example, if you first rotate, then scale, then translate, the result is different than if you first translate, then rotate, then scale. Order is significant in part because transformations such as rotation and scaling are performed with respect to the origin of the coordinate system. Scaling or rotating an object that is centered at the origin produces a different result than scaling or rotating an object that is moved away from the origin. To define the order of transformation objects in this collection, you can add them to the object returned in ppChildren by using its inherited IXRCollection<In_T, Out_T>::Insert method, which inserts objects by using a specified index. Or, you can add them in the order in which they must be applied by using its inherited IXRCollection<In_T, Out_T>::Add method.

You can also define this collection in Microsoft Silverlight 2 XAML, in the source XAML that is parsed by your application. For information about the differences in XAML implementations in Silverlight and Silverlight 2, see Differences Between Silverlight for the Web and Silverlight for Windows Embedded. For more information about how to define this collection in the source XAML for your application, see this Microsoft Web site.

.NET Framework Equivalent

System.Windows.TransformGroup.Children

Requirements

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

See Also

Reference

IXRTransformGroup
IXRTransformGroup::SetChildren