TextEffectCollection.Add Method (TextEffect)


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 TextEffect to the end of the collection.

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

public void Add(
	TextEffect value


Type: System.Windows.Media.TextEffect

The TextEffect to add to the collection.

Because TextEffect objects derive from Freezable, they are copied when they are used. Therefore, later, you might not be able to retrieve or remove the TextEffect you added to the collection using the original TextEffect object. The TextEffect in the collection is a copy of the original TextEffect and is considered a different TextEffect than the one you added.

.NET Framework
Available since 3.0
Return to top