System.Windows.Markup Names ...


.NET Framework Class Library
MarkupExtension Class

Provides a base class for all XAML markup extensions.

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

Visual Basic (Declaration)
Public MustInherit Class MarkupExtension
Visual Basic (Usage)
Dim instance As MarkupExtension
C#
public abstract class MarkupExtension
Visual C++
public ref class MarkupExtension abstract
JScript
public abstract class MarkupExtension
XAML
This class is abstract; see Inheritance Hierarchy for derived non-abstract classes usable in XAML.
Remarks

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.

Inheritance Hierarchy

System..::.Object
  System.Windows.Markup..::.MarkupExtension
    System.Windows..::.ColorConvertedBitmapExtension
    System.Windows.Data..::.BindingBase
    System.Windows.Data..::.RelativeSource
    System.Windows..::.DynamicResourceExtension
    System.Windows.Markup..::.ArrayExtension
    System.Windows.Markup..::.NullExtension
    System.Windows.Markup..::.StaticExtension
    System.Windows.Markup..::.TypeExtension
    System.Windows..::.ResourceKey
    System.Windows..::.StaticResourceExtension
    System.Windows..::.TemplateBindingExtension
    System.Windows..::.ThemeDictionaryExtension
Thread Safety

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

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.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

Other Resources

Tags :


Page view tracker