Share via


BehaviorCollection クラス

共有される AssociatedObject と共にビヘイビアーのコレクションを表し、AssociatedObject が変更するときに変更通知をコンテンツに提供します。

名前空間: System.Windows.Interactivity
アセンブリ: System.Windows.Interactivity (system.windows.interactivity.dll 中)

構文

'宣言
Public NotInheritable Class BehaviorCollection
    Inherits AttachableCollection(Of Behavior)
'使用
Dim instance As BehaviorCollection
public sealed class BehaviorCollection : AttachableCollection<Behavior>
public ref class BehaviorCollection sealed : public AttachableCollection<Behavior^>
public final class BehaviorCollection extends AttachableCollection<Behavior>
public final class BehaviorCollection extends AttachableCollection<Behavior>

継承階層

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

スレッド セーフ

この型のパブリック静的メンバ (Visual Basic では Shared メンバ) は、いずれもスレッド セーフです。インスタンス メンバは、スレッド セーフであるとは限りません。

関連項目

参照

BehaviorCollection メンバ
System.Windows.Interactivity 名前空間