ColorAnimationUsingKeyFrames.CloneCore Method (Freezable)


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

Makes this instance a deep copy of the specified ColorAnimationUsingKeyFrames. When copying dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values.

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

protected override void CloneCore(
	Freezable sourceFreezable


Type: System.Windows.Freezable

The ColorAnimationUsingKeyFrames to clone.

This method is called by the Clone method and should not be called directly from your code, except when calling the base implementation while overriding this method. To create a modifiable copy of the current object, call Clone instead of calling this method directly.

For more information, see Freezable.CloneCore.

.NET Framework
Available since 3.0
Return to top