DependencyObjectType::IsSubclassOf Method (DependencyObjectType^)

 

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: