ArrayExtension.Items Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

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
Available since 3.0
Return to top
Show: