This documentation is archived and is not being maintained.

DependencyObject Class

The base class for all objects that have dependency properties. This class must be inherited.


Namespace:  System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public abstract class DependencyObject : IComponent, 

The DependencyObject type exposes the following members.

Protected methodDependencyObjectWhen implemented in a derived class, initializes a new instance of the DependencyObject class.

Protected propertyDesignModeGets the value that indicates whether this instance is in design or run-time mode.
Protected propertyParentDependencyObjectGets the parent DependencyObject in the DependencyObject graph.
Public propertySiteGets or sets a reference to the Site component of the DependencyObject.
Public propertyUserDataGets an IDictionary that associates custom data with this class instance.

Public methodAddHandlerAdds a handler for an event of a DependencyObject.
Public methodDispose()Releases all the resources used by the DependencyObject.
Protected methodDispose(Boolean)Releases the unmanaged resources and optionally releases the managed resources used by DependencyObject.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeProvided as an override to Object.Finalize to clean up any unmanaged resources deterministically. (Overrides Object.Finalize().)
Public methodGetBindingProvides access to the ActivityBind associated with the specific DependencyProperty.
Protected methodGetBoundValueRetrieves the Object that is the subject of an ActivityBind.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Protected methodGetInvocationList<T>Gets an array that contains the delegates for the specified DependencyProperty.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetValueProvides access to the value of the designated DependencyProperty.
Public methodGetValueBaseProvides access to the bound object of a DependencyProperty and bypasses the GetValue override.
Protected methodInitializePropertiesPerforms initialization on dependency properties when overridden in a derived class.
Public methodIsBindingSetIndicates whether the value of a DependencyProperty is set as a binding. See SetBinding.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodMetaEqualsDetermines whether the metaproperties of this DependencyObject equals the metaproperties of the parameterized DependencyObject.
Public methodRemoveHandlerRemoves an EventHandler from an associated DependencyProperty.
Public methodRemovePropertyRemoves a DependencyProperty from the DependencyObject.
Public methodSetBindingSets the ActivityBind for the specified DependencyProperty.
Protected methodSetBoundValueSets the value of the target ActivityBind.
Protected methodSetReadOnlyPropertyValueSets the value of a DependencyProperty, which is read-only.
Public methodSetValueSets the value of the DependencyProperty to the object.
Public methodSetValueBaseSets the value of the DependencyProperty to the specified Object, bypassing the SetValue.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Explicit interface implemetationPrivate eventIComponent.DisposedRepresents the method that handles the Disposed event of a component.

.NET Framework

Supported in: 4, 3.5, 3.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.