NewItemTypes Property

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)

protected Type[] NewItemTypes { 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
Available since 1.1
Return to top
Show:
© 2016 Microsoft