-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
I tried to convert a ListView in LargeIcon view to a FastObjectListView that uses groups. The code throws an exception while trying to define the groups:
"When the ListView is in virtual mode, you cannot enumerate through the ListView items collection using an enumerator or call GetEnumerator. Use the ListView items indexer instead and access an item by index value."
The exception occurs on this line in the code:
channellistView.Groups.Add(new ListViewGroup(category.name, HorizontalAlignment.Left));
I am adding the groups programmatically in the code. I set the flag 'ShowGroups' to true.
Is this possible? How can I add groups to a FastObjectListView in LargeIcon view? Is there a code sample or recipe?
Metadata
Metadata
Assignees
Labels
No labels