Click or drag to resize
BehaviorCollection Class
Represents a collection of IBehaviors with a shared AssociatedObject.
Inheritance Hierarchy

Namespace: EmptyKeys.UserInterface.Interactivity
Assembly: EmptyKeys.UserInterface (in EmptyKeys.UserInterface.dll) Version: 2.5.0.0 (2.5.0.0)
Syntax
C#
public sealed class BehaviorCollection : DependencyObjectCollection

The BehaviorCollection type exposes the following members.

Constructors
  NameDescription
Public methodBehaviorCollection
Initializes a new instance of the BehaviorCollection class.
Top
Properties
  NameDescription
Public propertyAssociatedObject
Gets the DependencyObject to which the BehaviorCollection is attached.
Public propertyCount (Inherited from DependencyObjectCollection.)
Public propertyDependencyObjectType
Gets the type of the dependency object.
(Inherited from DependencyObject.)
Public propertyIsReadOnly (Inherited from DependencyObjectCollection.)
Public propertyIsSealed
Gets a value indicating whether this instance is sealed.
(Inherited from DependencyObject.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from DependencyObjectCollection.)
Top
Methods
  NameDescription
Public methodAdd (Inherited from DependencyObjectCollection.)
Public methodAttach
Attaches the collection of behaviors to the specified DependencyObject.
Public methodClear (Inherited from DependencyObjectCollection.)
Public methodClearValue
Clears the value.
(Inherited from DependencyObject.)
Public methodCoerceValue
Coerces the value.
(Inherited from DependencyObject.)
Public methodContains (Inherited from DependencyObjectCollection.)
Public methodCopyTo
Copies to.
(Inherited from DependencyObjectCollection.)
Public methodDetach
Detaches the collection of behaviors from the AssociatedObject.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from DependencyObject.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from DependencyObjectCollection.)
Public methodGetHashCode
Returns a hash code for this instance.
(Inherited from DependencyObject.)
Public methodGetLocalValueEnumerator
Gets the local value enumerator.
(Inherited from DependencyObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Gets the value.
(Inherited from DependencyObject.)
Public methodIndexOf (Inherited from DependencyObjectCollection.)
Public methodInsert (Inherited from DependencyObjectCollection.)
Public methodReadLocalValue
Reads the local value.
(Inherited from DependencyObject.)
Public methodRemove (Inherited from DependencyObjectCollection.)
Public methodRemoveAt (Inherited from DependencyObjectCollection.)
Public methodSetBinding
Sets the binding.
(Inherited from DependencyObject.)
Public methodSetResourceReference
Sets the resource reference.
(Inherited from DependencyObject.)
Public methodSetValue
Sets the value.
(Inherited from DependencyObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventVectorChanged
Occurs when [vector changed].
(Inherited from DependencyObjectCollection.)
Top
See Also