Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ColorAnimationUsingKeyFrames.AddText Method (String)

 

Adds a text string as a child of this ColorAnimationUsingKeyFrames.

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

Exception Condition
InvalidOperationException

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft