TimelineGroup.AddChild Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adds a child Timeline to this TimelineGroup.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

protected virtual void AddChild(
	object child
)

Parameters

child
Type: System.Object

The object to be added as the child of this TimelineGroup. If this object is a Timeline it will be added to the Children collection; otherwise, an exception will be thrown.

Exception Condition
ArgumentException

The parameter child is not a Timeline.

.NET Framework
Available since 3.0
Return to top
Show: