IBehaviorCollection

IBehaviorCollection interface

Represents collection of behavior effects.

public interface IBehaviorCollection : IEnumerable<IBehavior>

Properties

Name Description
AsIEnumerable { get; } Returns IEnumerable interface. Read-only IEnumerable.
Count { get; } Returns the number of behaviors in a collection. Read-only Int32.
Item { get; set; } Returns a behavior at the specified index.

Methods

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.
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