Click or drag to resize
Cimbalino ToolkitBehaviorT Class
Behavior is the base class for providing attachable state and commands to an object.
Inheritance Hierarchy

Namespace: Cimbalino.Toolkit.Behaviors
Assembly: Cimbalino.Toolkit (in Cimbalino.Toolkit.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
public abstract class Behavior<T> : Behavior
where T : DependencyObject

Type Parameters

T
The AssociatedObject type.

The BehaviorT type exposes the following members.

Constructors
  NameDescription
Protected methodBehaviorT
Initializes a new instance of the BehaviorT class
Top
Properties
  NameDescription
Protected propertyAssociatedObject
Gets the object to which this BehaviorT is attached.
Public propertyDispatcher (Inherited from DependencyObject.)
Top
Methods
  NameDescription
Public methodAttach
Attaches to the specified object.
(Inherited from Behavior.)
Public methodClearValue (Inherited from DependencyObject.)
Public methodDetach
Detaches this instance from its associated object.
(Inherited from Behavior.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAnimationBaseValue (Inherited from DependencyObject.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue (Inherited from DependencyObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAttached
Called after the behavior is attached to an AssociatedObject.
(Inherited from Behavior.)
Protected methodOnDetaching
Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred.
(Inherited from Behavior.)
Public methodReadLocalValue (Inherited from DependencyObject.)
Public methodSetValue (Inherited from DependencyObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetPropertyValue(String)Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.)
Public Extension MethodGetPropertyValueTObject(String)Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.)
Public Extension MethodGetVisualAncestorT
Returns the ancestor object of the dependencyObject object in the visual tree with the specified type.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualChildsOverloaded.
Retrieves all the visual children of a dependency object.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualChildsTOverloaded.
Retrieves all the visual children of a dependency object with the specified type.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualDescendentsOverloaded.
Retrieves all the visual descendants of a dependency object.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualDescendentsTOverloaded.
Retrieves all the visual descendants of a dependency object with the specified type.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualParent
Returns an object's parent object in the visual tree.
(Defined by DependencyObjectExtensions.)
Public Extension MethodInvokeMethod(String, Object)Overloaded.
Searches for the public method with the specified name and invokes it using the specified parameters.
(Defined by ObjectExtensions.)
Public Extension MethodInvokeMethodTObject(String, Object)Overloaded.
Searches for the public method with the specified name and invokes it using the specified parameters, returning the result.
(Defined by ObjectExtensions.)
Public Extension MethodSetPropertyValueTObject
Searches for the public property with the specified name and sets its value.
(Defined by ObjectExtensions.)
Top
Version Information

Windows

Supported in: 8.1

Windows Phone

Supported in: 8.1
See Also