MatrixAnimationUsingKeyFrames.AddText Method (String)

 
System_CAPS_noteNote

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

Adds a text string as a child of this MatrixAnimationUsingKeyFrames.

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

Exception Condition
InvalidOperationException

A MatrixAnimationUsingKeyFrames 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 MatrixAnimationUsingKeyFrames 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
Available since 3.0
Return to top
Show: