Windows apps
Collapse the table of content
Expand the table of content
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.

TextEffectCollection.Add Method (TextEffect)


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
© 2017 Microsoft