Επεξεργασία

Κοινή χρήση μέσω


ArrayExtension.Items Property

Definition

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

public:
 property System::Collections::IList ^ Items { System::Collections::IList ^ get(); };
public System.Collections.IList Items { get; }
member this.Items : System.Collections.IList
Public ReadOnly Property Items As IList

Property Value

The array contents.

Remarks

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.

Applies to