This documentation is archived and is not being maintained.

ArrayExtension.Items Property

Gets the contents of the array. Settable in XAML through XAML collection syntax.

Namespace:  System.Windows.Markup
Assembly:  System.Xaml (in System.Xaml.dll)
XMLNS for XAML: Not mapped to an xmlns.

public IList Items { get; }

Property Value

Type: System.Collections.IList
The array contents.

Items is the attributed XAML content property of ArrayExtension. XAML content property designation supports the typical XAML usage of specifying the item elements of an array as child object elements in XAML. Items is the object model and markup extension implementation exposure for the intrinsic ArrayExtension.Items property, as defined for x:ArrayExtension in [MS-XAML].

Type mismatches between Type and the items in Items, or any other validation issues, are not reported as exceptions until ProvideValue is invoked. This behavior is consistent with the general design principles of XAML markup extensions.

For XAML usage information, see x:Array Markup Extension.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.