This documentation is archived and is not being maintained.

TypeExtension.Type Property

Gets the type for this extension, if set via the TypeExtension(Type) constructor.

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

public Type Type { get; set; }
For XAML information, see the Type type.

Property Value

Type: System.Type
The established type. This may be null.

Unless this instance was deliberately instantiated with the TypeExtension(Type) signature constructor, this value will be null. This property will not be reset when ProvideValue is called. If you want the true type represented you should always call ProvideValue rather than check this property.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0