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.IsInstanceOfType Method (DependencyObject)

 

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