Method IsSubclassOf
IsSubclassOf(DependencyObjectType)
Determines whether the current DependencyObjectType derives from the specified DependencyObjectType
public bool IsSubclassOf(DependencyObjectType dependencyObjectType)
Parameters
dependencyObjectType
DependencyObjectTypeThe DependencyObjectType to compare with the current DependencyObjectType
Returns
- bool
true if the DependencyObjectType represented by the dType parameter and the current DependencyObjectType represent classes, and the class represented by the current DependencyObjectType derives from the class represented by c; otherwise, false. This method also returns false if dType and the current Type represent the same class.