TextEffectCollection.Add Method

Adds a TextEffect to the end of the collection.

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

public void Add(
	TextEffect value
)

Parameters

value
Type: System.Windows.Media.TextEffect

The TextEffect to add to the collection.

Implements

ICollection<T>.Add(T)

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft