ListViewItem.Index Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the zero-based index of the item within the ListView control.
public:
property int Index { int get(); };
[System.ComponentModel.Browsable(false)]
public int Index { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Index : int
Public ReadOnly Property Index As Integer
Property Value
The zero-based index of the item within the ListView.ListViewItemCollection of the ListView control, or -1 if the item is not associated with a ListView control.
- Attributes
Remarks
You can use this property to determine if the item is associated with a ListView control as well as to determine its position within the ListView.ListViewItemCollection of the ListView.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.