Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ITypeInfo.IsAssignableFrom(ITypeInfo) Method

Indicates whether the type can be assigned from a specific type.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

bool IsAssignableFrom(
    ITypeInfo from
)

#Parameters

Name Type Description
from ITypeInfo

An ITypeInfo object that represents the type to compare with the current type.

#Returns

Type Description
Boolean

true, if a type represented by the from parameter and the current type are the same, or if the current type is in the inheritance hierarchy of the from type, or if the current type is an interface that the from type implements, or if the from type is a generic type parameter and the current type represents one of its constraints. false, if none of the above is true, or if null (Nothing in VB) was passed as the from parameter.

See Also