Edit

Share via


NewItemPlaceholderPosition Enum

Definition

Specifies where the placeholder for a new item appears in the collection.

C#
public enum NewItemPlaceholderPosition
Inheritance
NewItemPlaceholderPosition

Fields

Name Value Description
None 0

The collection does not use a new item placeholder. The position of items that are added depends on the underlying collection. Usually, they are added at the end of the collection.

AtBeginning 1

The placeholder for a new item appears at the beginning of the collection. New items are at the beginning of the collection, after the new item placeholder.

AtEnd 2

The placeholder for a new item appears at the end of the collection. New items are added at the end of the collection, before the new item placeholder.

Applies to

Product Versions
.NET Framework 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