AttachableCollection Generic Class

代表含有共用 AssociatedObject 的 IAttachedObject 集合,並在該 AssociatedObject 變更時提供變更通知給其內容。

命名空間: System.Windows.Interactivity
組件: System.Windows.Interactivity (在 system.windows.interactivity.dll 中)

語法

'宣告
Public MustInherit Class AttachableCollection(Of T As DependencyObject, IAttachedObject)
    Inherits FreezableCollection(Of T)
    Implements IAttachedObject
'用途
Dim instance As AttachableCollection(Of T)
public abstract class AttachableCollection<T> : FreezableCollection<T>, IAttachedObject where T : DependencyObject, IAttachedObject
generic<typename T> where T : DependencyObject, IAttachedObject
public ref class AttachableCollection abstract : public FreezableCollection<T>, IAttachedObject


繼承階層

System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Freezable
System.Windows.Media.Animation.Animatable
System.Windows.FreezableCollection
System.Windows.Interactivity.AttachableCollection
System.Windows.Interactivity.BehaviorCollection
System.Windows.Interactivity.TriggerActionCollection
System.Windows.Interactivity.TriggerCollection

執行緒安全性

此型別的所有公用靜態 (Visual Basic 中為 Shared ) 成員均為安全執行緒。任何例項成員則不保證為安全執行緒。

另請參閱

參照

AttachableCollection 成員
System.Windows.Interactivity 命名空間