Table of Contents

Class TriggerCollection

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

Represents a collection of triggers with a shared AssociatedObject and provides change notifications to its contents when that AssociatedObject changes.

public sealed class TriggerCollection : AttachableCollection<TriggerBase>, IAttachedObject
Inheritance
TriggerCollection
Implements
Inherited Members

Remarks

Sealed, because this should not be inherited outside this assembly.

Constructors

TriggerCollection()

Initializes a new instance of the TriggerCollection class.

public TriggerCollection()

Methods

CreateInstanceCore()

Creates a new instance of the TriggerCollection.

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