TimelineGroup.AddChild Method (Object)

 

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: