Class TriggerCollection
Represents a collection of triggers with a shared AssociatedObject and provides change notifications to its contents when that AssociatedObject changes.
Inheritance
System.Object
TriggerCollection
Implements
System.Collections.Generic.IList<TriggerBase>
System.Collections.Generic.ICollection<TriggerBase>
System.Collections.Generic.IEnumerable<TriggerBase>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
System.Collections.Specialized.INotifyCollectionChanged
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Interactivity
Assembly: OpenSilver.Interactivity.dll
Syntax
public sealed class TriggerCollection : AttachableCollection<TriggerBase>, IList<TriggerBase>, ICollection<TriggerBase>, IEnumerable<TriggerBase>, IList, ICollection, IEnumerable, INotifyCollectionChanged, IAttachedObject
Methods
| Improve this Doc View SourceOnAttached()
Called immediately after the collection is attached to an AssociatedObject.
Declaration
protected override void OnAttached()
Overrides
System.Windows.Interactivity.AttachableCollection<System.Windows.Interactivity.TriggerBase>.OnAttached()
|
Improve this Doc
View Source
OnDetaching()
Called when the collection is being detached from its AssociatedObject, but before it has actually occurred.
Declaration
protected override void OnDetaching()
Overrides
System.Windows.Interactivity.AttachableCollection<System.Windows.Interactivity.TriggerBase>.OnDetaching()
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
System.Collections.Specialized.INotifyCollectionChanged