Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft