DependencyObjectType.IsSubclassOf Method (DependencyObjectType)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines whether the current DependencyObjectType derives from the specified DependencyObjectType.

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

public bool IsSubclassOf(
	DependencyObjectType dependencyObjectType
)

Parameters

dependencyObjectType
Type: System.Windows.DependencyObjectType

The DependencyObjectType to compare.

Return Value

Type: System.Boolean

true if the dependencyObjectType parameter and the current DependencyObjectType represent types of classes, and the class represented by the current DependencyObjectType derives from the class represented by dependencyObjectType. Otherwise, false. This method also returns false if dependencyObjectType and the current DependencyObjectType represent the same class.

.NET Framework
Available since 3.0
Return to top
Show: