This documentation is archived and is not being maintained.

StaticExtension Constructor (String)

Initializes a new instance of the StaticExtension class using the provided member string.

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

public StaticExtension(
	string member


Type: System.String
A string that identifies the member to make a reference to. This string uses the format prefix:typeName.fieldOrPropertyNameprefix is the mapping prefix for a XAML namespace, and is only required to reference static values that are not mapped to the default XAML namespace.


member is null.

The member value is not evaluated when you set it. If the initial value is not null,then the value is accepted. The actual parsing and evaluation of the member value is deferred until ProvideValue is called when a XAML writer processes an extension usage. At that time, XAML schema context informs the type mapping and the value can be obtained.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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