Export (0) Print
Expand All

CollectionEditor.NewItemTypes Property

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

Namespace:  System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

member NewItemTypes : Type[] with get

Property Value

Type: System.Type[]
The types of items that can be created.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft