NewItemPlaceholderPosition Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public enum NewItemPlaceholderPosition

Member nameDescription
AtBeginning

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

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.

None

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.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: