BehaviorCollection class

Represents collection of behavior effects.

public class BehaviorCollection : IBehaviorCollection


Name Description
Count { get; } Returns the number of behaviors in a collection. Read-only Int32.
IsReadOnly { get; } Gets a value indicating whether the ICollection is read-only. Read-only Boolean.
Item { get; set; } Retirns a behavior at the specified index.


Name Description
Add(IBehavior) Add new behavior to a collection.
Clear() Removes all behaviors from a collection.
Contains(IBehavior) Determines whether the ICollection contains a specific value.
CopyTo(IBehavior[], int) Copies the elements of the ICollection to an Array, starting at a particular Array index.
GetEnumerator() Returns an enumerator that iterates through the collection.
IndexOf(IBehavior) Determines the index of a specific item in the IList.
Insert(int, IBehavior) Inserts new behavior to a collection at the specified index.
Remove(IBehavior) Removes specified behavior from a collection.
RemoveAt(int) Removes behavior from a collection at the specified index.

See Also