method Groups.Clear ()
Removes all objects in the collection.

TypeDescription

Use the Clear method to clear the Groups collection. Use the Remove method to remove a specific group. The RemoveGroup event is fired when user removes a group. Use the RemoveGroup event to release any extra data that you have associated to a group. When removing a group, all items inside are removed too. Use the RemoveItem method to remove an item. Use the GroupHeight property to specify the height of the group's caption.