This documentation is archived and is not being maintained.

DependencyObjectType Class

Implements an underlying type cache for all DependencyObject derived types.


Namespace:  System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public ref class DependencyObjectType

The DependencyObjectType type exposes the following members.

Public propertyBaseTypeGets the DependencyObjectType of the immediate base class of the current DependencyObjectType.
Public propertyIdGets a zero-based unique identifier for constant-time array lookup operations.
Public propertyNameGets the name of the represented common language runtime (CLR) system type.
Public propertySystemType Gets the common language runtime (CLR) system type represented by this DependencyObjectType.

Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic memberFromSystemTypeReturns a DependencyObjectType that represents a given system (CLR) type.
Public methodGetHashCodeReturns the hash code for this DependencyObjectType. (Overrides Object::GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsInstanceOfTypeDetermines whether the specified object is an instance of the current DependencyObjectType.
Public methodIsSubclassOfDetermines whether the current DependencyObjectType derives from the specified DependencyObjectType.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

DependencyObjectType represents a specific underlying system (CLR) Type of a DependencyObject. DependencyObjectType is essentially a wrapper for the (CLR) Type so that it can extend some of its capabilities.

This class has no public constructor. Instances of this class can only be obtained through properties on other objects (such as DependencyObject::DependencyObjectType), or through the static method FromSystemType.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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.