DependencyObjectType.IsInstanceOfType Method (DependencyObject)

 
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 specified object is an instance of the current DependencyObjectType.

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

public bool IsInstanceOfType(
	DependencyObject dependencyObject
)

Parameters

dependencyObject
Type: System.Windows.DependencyObject

The object to compare with the current DependencyObjectType.

Return Value

Type: System.Boolean

true if the class represented by the current DependencyObjectType is in the inheritance hierarchy of the DependencyObject passed as d; otherwise, false.

Objects of the exact same type return true.

.NET Framework
Available since 3.0
Return to top
Show: