XamlType.LookupUnderlyingType Method ()

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the CLR Type that underlies this XamlType.

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

protected virtual Type LookupUnderlyingType()

Return Value

Type: System.Type

The CLR Type that underlies this XamlType; otherwise, null.

This method can be invoked by calls to UnderlyingType.

The default implementation returns an internal field. That field is generally initialized during construction and its value is based on which constructor was called and the information that you provided.

Override this method if you want UnderlyingType to use different logic.

.NET Framework
Available since 4.0
Return to top