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

public abstract class MarkupExtension
public abstract class MarkupExtension
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.

System.Object
  System.Windows.Markup.MarkupExtension
     Derived Classes

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 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

Community Additions

ADD
Show:
© 2014 Microsoft