Class BehaviorCollection
Represents a collection of behaviors with a shared AssociatedObject and provides change notifications to its contents when that AssociatedObject changes.
public sealed class BehaviorCollection : AttachableCollection<Behavior>, IAnimatable, IList<Behavior>, ICollection<Behavior>, IEnumerable<Behavior>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, IAttachedObject
- Inheritance
-
BehaviorCollection
- Implements
- Inherited Members
- Extension Methods
Methods
CreateInstanceCore()
Creates a new instance of the BehaviorCollection.
protected override Freezable CreateInstanceCore()
Returns
- Freezable
The new instance.
OnAttached()
Called immediately after the collection is attached to an AssociatedObject.
protected override void OnAttached()
OnDetaching()
Called when the collection is being detached from its AssociatedObject, but before it has actually occurred.
protected override void OnDetaching()