DependencyObject Class (System.Workflow.ComponentModel)

Switch View :
ScriptFree
.NET Framework Class Library
DependencyObject Class

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

Inheritance Hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    More...

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

Visual Basic
Public MustInherit Class DependencyObject _
	Implements IComponent, IDisposable
C#
public abstract class DependencyObject : IComponent, 
	IDisposable
Visual C++
public ref class DependencyObject abstract : IComponent, 
	IDisposable
F#
[<AbstractClass>]
type DependencyObject =  
    class
        interface IComponent
        interface IDisposable
    end

The DependencyObject type exposes the following members.

Constructors

  Name Description
Protected method DependencyObject When implemented in a derived class, initializes a new instance of the DependencyObject class.
Top
Properties

  Name Description
Protected property DesignMode Gets the value that indicates whether this instance is in design or run-time mode.
Protected property ParentDependencyObject Gets the parent DependencyObject in the DependencyObject graph.
Public property Site Gets or sets a reference to the Site component of the DependencyObject.
Public property UserData Gets an IDictionary that associates custom data with this class instance.
Top
Methods

  Name Description
Public method AddHandler Adds a handler for an event of a DependencyObject.
Public method Dispose() Releases all the resources used by the DependencyObject.
Protected method Dispose(Boolean) Releases the unmanaged resources and optionally releases the managed resources used by DependencyObject.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Provided as an override to Object.Finalize to clean up any unmanaged resources deterministically. (Overrides Object.Finalize().)
Public method GetBinding Provides access to the ActivityBind associated with the specific DependencyProperty.
Protected method GetBoundValue Retrieves the Object that is the subject of an ActivityBind.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetInvocationList<T> Gets an array that contains the delegates for the specified DependencyProperty.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue Provides access to the value of the designated DependencyProperty.
Public method GetValueBase Provides access to the bound object of a DependencyProperty and bypasses the GetValue override.
Protected method InitializeProperties Performs initialization on dependency properties when overridden in a derived class.
Public method IsBindingSet Indicates whether the value of a DependencyProperty is set as a binding. See SetBinding.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MetaEquals Determines whether the metaproperties of this DependencyObject equals the metaproperties of the parameterized DependencyObject.
Public method RemoveHandler Removes an EventHandler from an associated DependencyProperty.
Public method RemoveProperty Removes a DependencyProperty from the DependencyObject.
Public method SetBinding Sets the ActivityBind for the specified DependencyProperty.
Protected method SetBoundValue Sets the value of the target ActivityBind.
Protected method SetReadOnlyPropertyValue Sets the value of a DependencyProperty, which is read-only.
Public method SetValue Sets the value of the DependencyProperty to the object.
Public method SetValueBase Sets the value of the DependencyProperty to the specified Object, bypassing the SetValue.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Explicit Interface Implementations

  Name Description
Explicit interface implemetation Private event IComponent.Disposed Represents the method that handles the Disposed event of a component.
Top
Version Information

.NET Framework

Supported in: 4, 3.5, 3.0
Platforms

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.
Thread Safety

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

Reference

Inheritance Hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.Activities.ChannelToken
    System.Workflow.Activities.ContextToken
    System.Workflow.Activities.OperationInfoBase
    System.Workflow.Activities.OperationParameterInfo
    System.Workflow.Activities.Rules.RuleSetReference
    System.Workflow.Activities.WorkflowServiceAttributes
    System.Workflow.ComponentModel.Activity
    System.Workflow.ComponentModel.ActivityCondition
    System.Workflow.ComponentModel.WorkflowParameterBinding
    System.Workflow.ComponentModel.WorkflowTransactionOptions
    System.Workflow.Runtime.CorrelationToken