Export (0) Print
Expand All

MarkupExtension Class

Provides a base class for all XAML markup extensions.

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

public abstract class MarkupExtension
This class is abstract; see Inheritance Hierarchy for derived non-abstract classes usable in XAML.

Markup extensions return objects based on string attribute values or markup elements in XAML. Markup extensions return objects in a more sophisticated way than type converters alone can accomplish. In particular, the ProvideValue method of each extension can use an IServiceProvider at runtime that can provide context. This IServiceProvider is then queried for specific services that pass information, such as IProvideValueTarget or IXamlTypeResolver.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

Community Additions

ADD
Show:
© 2014 Microsoft