ListViewItems display order and Index

  • Thread starter Thread starter momonga
  • Start date Start date
M

momonga

hi
i'm not sure about the ListView control.
Can I assume that the each displayed items in the ListView are ordered
same to the order in the ListView.ListViewItemCollection?

thanks.
 
i'm not sure about the ListView control.
Can I assume that the each displayed items in the ListView are ordered
same to the order in the ListView.ListViewItemCollection?

Well, first off you have to realize that the list view has several display
modes (icons, small icons, list, etc.). Are you talking about one of these
modes in particular? A little more detail, please.
 
Well, first off you have to realize that the list view has several display
modes (icons, small icons, list, etc.). Are you talking about one of these
modes in particular? A little more detail, please.
Thanks for replying.
I mean the "Detailes" mode.
 
Thanks for replying.
I mean the "Detailes" mode.

Okay. For reference, this is technically called "report" view, but most
people call it "details" anyway, so we understand what you mean.

The answer to your question is "Yes...basically." It is possible to sort a
list view, and I'm not sure if this physically reorders the list item
collection, but I'm pretty sure it's safe to say that if you have not taken
any explicit steps to change the display order, then the list items will be
displayed in the same order that they are in the collection.

Ganbatte.
 
Okay. For reference, this is technically called "report" view, but most
people call it "details" anyway, so we understand what you mean.

The answer to your question is "Yes...basically." It is possible to sort a
list view, and I'm not sure if this physically reorders the list item
collection, but I'm pretty sure it's safe to say that if you have not taken
any explicit steps to change the display order, then the list items will be
displayed in the same order that they are in the collection.

Ganbatte.

Thanks a lot!
I have tried that, when i changed the physical order in the
ListItemCollection, the display order had been also changed.
its really enough for my case.
 
Back
Top