DependencyObjectType.IsInstanceOfType Method (DependencyObject)

 

Determines whether the specified object is an instance of the current DependencyObjectType.

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

Public Function IsInstanceOfType (
	dependencyObject As DependencyObject
) As Boolean

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: