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:  PresentationFramework (in PresentationFramework.dll)

public StaticExtension(
	string member
You cannot use constructors in XAML.


Type: System.String

A string that identifies the member to make a reference to. This string uses the format Prefix:ClassName.FieldOrPropertyName. (Prefix is optional and refers to the XML namespace prefix in a XAML file.)


The value passed for 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 on this extension. The XAML behavior of the extension uses this constructor to establish the member string and then ProvideValue is called subsequently at load time.

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