Table of Contents

Class BehaviorCollection

Namespace
Microsoft.Xaml.Behaviors
Assembly
Microsoft.Xaml.Behaviors.dll

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>, IAttachedObject
Inheritance
BehaviorCollection
Implements
Inherited Members

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()