CollectionEditor.NewItemTypes Property

Definition

Gets the available types of items that can be created for this collection.

C#
protected Type[] NewItemTypes { get; }

Property Value

Type[]

The types of items that can be created.

Remarks

This property indicates the data types that can be added to the collection. By default, this returns a single type of CollectionItemType. If more than one type is returned, the collection editor UI provides a way to choose which item type to create.

Applies to

Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10