XamlDeferLoadAttribute Constructor (Type, Type)

.NET Framework (current version)
 
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.

Initializes a new instance of the XamlDeferLoadAttribute class, using CLR Type values.

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

public XamlDeferLoadAttribute(
	Type loaderType,
	Type contentType
)

Parameters

loaderType
Type: System.Type

The CLR Type value for the implementation to use for the defer load behavior.

contentType
Type: System.Type

The CLR Type value for the destination/content type of the defer load behavior.

Exception Condition
ArgumentNullException

loaderType or contentType is null.

.NET Framework
Available since 4.0
Return to top
Show: