IsSubclassOf Method
Collapse the table of content
Expand the table of content

DependencyObjectType.IsSubclassOf Method

Determines whether the current DependencyObjectType derives from the specified DependencyObjectType.

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

public bool IsSubclassOf(
	DependencyObjectType dependencyObjectType
)
You cannot use methods in XAML.

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2016 Microsoft