Page History
リストアイテム - Positionプロパティ
| Panel | ||
|---|---|---|
| ||
コンポーネントリスト内のアイテムの位置 |
リストアイテム (PRIM_MD.ListItem) のメンバ
データタイプ - 整数
詳細
Position プロパティは、ビジュアル リスト内のアイテムの物理的な位置を返します。
リストの一番上のアイテムの位置は 1 になります。
ほとんど変更されない Entry とは異なり、Position はリストが並べ替えられたり、何らかの方法で操作されたりするたびに変更されます。リストの最後のアイテムが先頭に移動されると、リスト内のすべてのアイテムの位置が変更されます。 The Position property returns the physical location of the item in the visual list.
The top item in the list will have a position of 1.
Unlike Entry which changes rarely, Position changes whenever the list is sorted or manipulated in any way. If the last item in the list is moved to the top, the Position of every item in the list would change.