BehaviorCollection 成员

代表具有共享的 AssociatedObject 的行为的集合,并且在该 AssociatedObject 更改时向集合的内容提供更改通知。

以下表格列出 BehaviorCollection 类型公开的成员。

公共 属性

(另请参阅 受保护 属性 )

  名称 描述
public property CanFreeze  (从 Freezable 继承)
public property Count  (从 FreezableCollection 继承)
public property DependencyObjectType  (从 DependencyObject 继承)
public property Dispatcher  (从 DispatcherObject 继承)
public property HasAnimatedProperties  (从 Animatable 继承)
public property IsFrozen  (从 Freezable 继承)
public property IsSealed  (从 DependencyObject 继承)
public property Item  (从 FreezableCollection 继承)

顶部

受保护 属性

  名称 描述
protected property AssociatedObject  在其上承载集合的对象。  (从 AttachableCollection 继承)

顶部

公共 方法

(另请参阅 受保护 方法 )

  名称 描述
public method Add  (从 FreezableCollection 继承)
public method ApplyAnimationClock  已重载。 (从 Animatable 继承)
public method Attach  (从 AttachableCollection 继承)
public method BeginAnimation  已重载。 (从 Animatable 继承)
public method CheckAccess  (从 DispatcherObject 继承)
public method Clear  (从 FreezableCollection 继承)
public method ClearValue  已重载。 (从 DependencyObject 继承)
public method Clone  (从 FreezableCollection 继承)
public method CloneCurrentValue  (从 FreezableCollection 继承)
public method CoerceValue  (从 DependencyObject 继承)
public method Contains  (从 FreezableCollection 继承)
public method CopyTo  (从 FreezableCollection 继承)
public method Detach  将此实例与其关联的对象分离。  (从 AttachableCollection 继承)
public method Equals  已重载。 (从 DependencyObject 继承)
public method Freeze  已重载。 (从 Freezable 继承)
public method GetAnimationBaseValue  (从 Animatable 继承)
public method GetAsFrozen  (从 Freezable 继承)
public method GetCurrentValueAsFrozen  (从 Freezable 继承)
public method GetEnumerator  (从 FreezableCollection 继承)
public method GetHashCode  (从 DependencyObject 继承)
public method GetLocalValueEnumerator  (从 DependencyObject 继承)
public method GetType  (从 Object 继承)
public method GetValue  (从 DependencyObject 继承)
public method IndexOf  (从 FreezableCollection 继承)
public method Insert  (从 FreezableCollection 继承)
public method InvalidateProperty  (从 DependencyObject 继承)
public method ReadLocalValue  (从 DependencyObject 继承)
public methodstatic ReferenceEquals  (从 Object 继承)
public method Remove  (从 FreezableCollection 继承)
public method RemoveAt  (从 FreezableCollection 继承)
public method SetCurrentValue  (从 DependencyObject 继承)
public method SetValue  已重载。 (从 DependencyObject 继承)
public methodstatic ShouldSerializeStoredWeakReference  (从 Animatable 继承)
public method ToString  (从 Object 继承)
public method VerifyAccess  (从 DispatcherObject 继承)

顶部

受保护 方法

  名称 描述
protected method CloneCore  (从 FreezableCollection 继承)
protected method CloneCurrentValueCore  (从 FreezableCollection 继承)
protected method CreateInstance  (从 Freezable 继承)
protected method CreateInstanceCore  创建 BehaviorCollection 的新实例。  (从 FreezableCollection 继承)
protected method Finalize  (从 Object 继承)
protected methodstatic Freeze  已重载。 (从 Freezable 继承)
protected method FreezeCore  (从 FreezableCollection 继承)
protected method GetAsFrozenCore  (从 FreezableCollection 继承)
protected method GetCurrentValueAsFrozenCore  (从 FreezableCollection 继承)
protected method MemberwiseClone  (从 Object 继承)
protected method OnAttached  在将集合附加到 AssociatedObject 后立即调用。  (从 AttachableCollection 继承)
protected method OnChanged  (从 Freezable 继承)
protected method OnDetaching  在集合与其 AssociatedObject 分离时(但在它实际发生之前)调用。  (从 AttachableCollection 继承)
protected method OnFreezablePropertyChanged  已重载。 (从 Freezable 继承)
protected method OnPropertyChanged  (从 Freezable 继承)
protected method ReadPreamble  (从 Freezable 继承)
protected method ShouldSerializeProperty  (从 DependencyObject 继承)
protected method WritePostscript  (从 Freezable 继承)
protected method WritePreamble  (从 Freezable 继承)

顶部

公共 事件

  名称 描述
public event Changed  (从 Freezable 继承)

顶部

显式接口实现

  名称 描述
System.Collections.Generic.IEnumerable.GetEnumerator  (从 FreezableCollection 继承)
System.Collections.ICollection.CopyTo  (从 FreezableCollection 继承)
System.Collections.IEnumerable.GetEnumerator  (从 FreezableCollection 继承)
System.Collections.IList.Add  (从 FreezableCollection 继承)
System.Collections.IList.Contains  (从 FreezableCollection 继承)
System.Collections.IList.IndexOf  (从 FreezableCollection 继承)
System.Collections.IList.Insert  (从 FreezableCollection 继承)
System.Collections.IList.Remove  (从 FreezableCollection 继承)
System.Collections.Generic.ICollection.IsReadOnly  (从 FreezableCollection 继承)
System.Collections.ICollection.IsSynchronized  (从 FreezableCollection 继承)
System.Collections.ICollection.SyncRoot  (从 FreezableCollection 继承)
System.Collections.IList.IsFixedSize  (从 FreezableCollection 继承)
System.Collections.IList.IsReadOnly  (从 FreezableCollection 继承)
System.Collections.IList.Item  (从 FreezableCollection 继承)
System.Windows.Interactivity.IAttachedObject.AssociatedObject  在其上承载集合的对象。  (从 AttachableCollection 继承)
System.Collections.Specialized.INotifyCollectionChanged.CollectionChanged  (从 FreezableCollection 继承)
System.ComponentModel.INotifyPropertyChanged.PropertyChanged  (从 FreezableCollection 继承)

顶部

另请参阅

参考

BehaviorCollection 类
System.Windows.Interactivity 命名空间