DependencyObject DependencyObject DependencyObject DependencyObject Class

Definition

Warning

This API is now obsolete.

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

public ref class DependencyObject abstract : IDisposable, System::ComponentModel::IComponent
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class DependencyObject : IDisposable, System.ComponentModel.IComponent
type DependencyObject = class
    interface IComponent
    interface IDisposable
Public MustInherit Class DependencyObject
Implements IComponent, IDisposable
Inheritance
DependencyObjectDependencyObjectDependencyObjectDependencyObject
Derived
Attributes
Implements

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Constructors

DependencyObject() DependencyObject() DependencyObject() DependencyObject()

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

Properties

DesignMode DesignMode DesignMode DesignMode

Gets the value that indicates whether this instance is in design or run-time mode.

ParentDependencyObject ParentDependencyObject ParentDependencyObject ParentDependencyObject

Gets the parent DependencyObject in the DependencyObject graph.

Site Site Site Site

Gets or sets a reference to the Site component of the DependencyObject.

UserData UserData UserData UserData

Gets an IDictionary that associates custom data with this class instance.

Methods

AddHandler(DependencyProperty, Object) AddHandler(DependencyProperty, Object) AddHandler(DependencyProperty, Object) AddHandler(DependencyProperty, Object)

Adds a handler for an event of a DependencyObject.

Dispose() Dispose() Dispose() Dispose()

Releases all the resources used by the DependencyObject.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Releases the unmanaged resources and optionally releases the managed resources used by DependencyObject.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Finalize() Finalize() Finalize() Finalize()

Provided as an override to Finalize() to clean up any unmanaged resources deterministically.

GetBinding(DependencyProperty) GetBinding(DependencyProperty) GetBinding(DependencyProperty) GetBinding(DependencyProperty)

Provides access to the ActivityBind associated with the specific DependencyProperty.

GetBoundValue(ActivityBind, Type) GetBoundValue(ActivityBind, Type) GetBoundValue(ActivityBind, Type) GetBoundValue(ActivityBind, Type)

Retrieves the Object that is the subject of an ActivityBind.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetInvocationList<T>(DependencyProperty) GetInvocationList<T>(DependencyProperty) GetInvocationList<T>(DependencyProperty) GetInvocationList<T>(DependencyProperty)

Gets an array that contains the delegates for the specified DependencyProperty.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

Provides access to the value of the designated DependencyProperty.

GetValueBase(DependencyProperty) GetValueBase(DependencyProperty) GetValueBase(DependencyProperty) GetValueBase(DependencyProperty)

Provides access to the bound object of a DependencyProperty and bypasses the GetValue(DependencyProperty) override.

InitializeProperties() InitializeProperties() InitializeProperties() InitializeProperties()

Performs initialization on dependency properties when overridden in a derived class.

IsBindingSet(DependencyProperty) IsBindingSet(DependencyProperty) IsBindingSet(DependencyProperty) IsBindingSet(DependencyProperty)

Indicates whether the value of a DependencyProperty is set as a binding. See SetBinding(DependencyProperty, ActivityBind).

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MetaEquals(DependencyObject) MetaEquals(DependencyObject) MetaEquals(DependencyObject) MetaEquals(DependencyObject)

Determines whether the metaproperties of this DependencyObject equals the metaproperties of the parameterized DependencyObject.

RemoveHandler(DependencyProperty, Object) RemoveHandler(DependencyProperty, Object) RemoveHandler(DependencyProperty, Object) RemoveHandler(DependencyProperty, Object)

Removes an EventHandler from an associated DependencyProperty.

RemoveProperty(DependencyProperty) RemoveProperty(DependencyProperty) RemoveProperty(DependencyProperty) RemoveProperty(DependencyProperty)

Removes a DependencyProperty from the DependencyObject.

SetBinding(DependencyProperty, ActivityBind) SetBinding(DependencyProperty, ActivityBind) SetBinding(DependencyProperty, ActivityBind) SetBinding(DependencyProperty, ActivityBind)

Sets the ActivityBind for the specified DependencyProperty.

SetBoundValue(ActivityBind, Object) SetBoundValue(ActivityBind, Object) SetBoundValue(ActivityBind, Object) SetBoundValue(ActivityBind, Object)

Sets the value of the target ActivityBind.

SetReadOnlyPropertyValue(DependencyProperty, Object) SetReadOnlyPropertyValue(DependencyProperty, Object) SetReadOnlyPropertyValue(DependencyProperty, Object) SetReadOnlyPropertyValue(DependencyProperty, Object)

Sets the value of a DependencyProperty, which is read-only.

SetValue(DependencyProperty, Object) SetValue(DependencyProperty, Object) SetValue(DependencyProperty, Object) SetValue(DependencyProperty, Object)

Sets the value of the DependencyProperty to the object.

SetValueBase(DependencyProperty, Object) SetValueBase(DependencyProperty, Object) SetValueBase(DependencyProperty, Object) SetValueBase(DependencyProperty, Object)

Sets the value of the DependencyProperty to the specified Object, bypassing the SetValue(DependencyProperty, Object).

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IComponent.Disposed IComponent.Disposed IComponent.Disposed IComponent.Disposed

Represents the method that handles the Disposed event of a component.

Applies to