ColorAnimationUsingKeyFrames.AddText Method (String)
Adds a text string as a child of this ColorAnimationUsingKeyFrames.
Assembly: PresentationCore (in PresentationCore.dll)
A ColorAnimationUsingKeyFrames does not accept text as a child, so this method will raise an InvalididOperationException unless a derived class has overridden this behavior which allows text to be added.
Available since 3.0