NewItemPlaceholderPosition 枚举

定义

指定新项的占位符在集合中的显示的位置。Specifies where the placeholder for a new item appears in the collection.

public enum class NewItemPlaceholderPosition
public enum NewItemPlaceholderPosition
type NewItemPlaceholderPosition = 
Public Enum NewItemPlaceholderPosition
继承
NewItemPlaceholderPosition

字段

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.

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.

适用于