TimelineGroup.AddText Method (String)


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

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

protected virtual void AddText(
	string childText


Type: System.String

The text added to the Timeline.

A Timeline 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