TextEffectCollection.Add(TextEffect) Method

Definition

Adds a TextEffect to the end of the collection.

public:
 virtual void Add(System::Windows::Media::TextEffect ^ value);
public void Add (System.Windows.Media.TextEffect value);
abstract member Add : System.Windows.Media.TextEffect -> unit
override this.Add : System.Windows.Media.TextEffect -> unit
Public Sub Add (value As TextEffect)

Parameters

value
TextEffect

The TextEffect to add to the collection.

Implements

Remarks

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.

Applies to