Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TypeExtension Constructor (Type)

TypeExtension Constructor (Type)

Initializes a new instance of the TypeExtension class, declaring the type directly.

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

public TypeExtension(
	Type type
)

Parameters

type
Type: System.Type

The type to be represented by this TypeExtension.

ExceptionCondition
ArgumentNullException

type is null

This is a helper method for run time code usages of TypeExtension and is not part of the normal implementation pattern for a markup extension.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft