ColorAnimationUsingKeyFrames.AddChild Method (Object)

 
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 ColorAnimationUsingKeyFrames.

Exception Condition
ArgumentException

The parameter child is not a ColorKeyFrame.

This method allows ColorKeyFrame objects to be direct children of a ColorAnimationUsingKeyFrames object in markup.

.NET Framework
Available since 3.0
Return to top
Show: