PointAnimationUsingKeyFrames.AddText Method

Adds a text string as a child of this PointAnimationUsingKeyFrames.

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

protected virtual void AddText(
	string childText
)

Parameters

childText
Type: System.String

The text added to the PointAnimationUsingKeyFrames.

ExceptionCondition
InvalidOperationException

A PointAnimationUsingKeyFrames does not accept text as a child, so this method will raise this exception unless a derived class has overridden this behavior which allows text to be added.

A PointAnimationUsingKeyFrames 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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft