This documentation is archived and is not being maintained.

MarkupProperty Class

Abstract class that provides a property description to be used while writing to markup which encapsulates access to properties and their values.

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

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

A property is either represented as a string or a list of items.

If the property can be represented as a string, IsComposite is false.

If IsComposite is true, the property is a list of items.


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