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)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml

[ConstructorArgumentAttribute("type")] 
public Type Type { get; set; }
/** @property */
public Type get_Type ()

/** @property */
public void set_Type (Type value)

public function get Type () : Type

public function set Type (value : Type)

For XAML information, see the Type type.

Property Value

The established type. This may be a null reference (Nothing in Visual Basic).

Unless this instance was deliberately instantiated with the TypeExtension(Type) signature constructor, this value will be a null reference (Nothing in Visual Basic). 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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: