DataPlace
ListViewItemSorter Class
CSCS.Core.Windows.FormsListViewItemSorter
A ListView item sorter that can sort by its Groups and by one or more columns. To use, call the Sort()()() method to perform the sort ( rather than the ListView's Sort()()() method).
Declaration Syntax
C#
public class ListViewItemSorter : IComparer
Members
All MembersConstructorsMethodsEvents



IconMemberDescription
ListViewItemSorter(ListView)
Creates a new instance.

ListViewItemSorter(ListView, Int32)
Creates a new instance.

ListViewItemSorter(ListView, array<Int32>[]()[])
Creates a new instance.

Compare(Object, Object)
Compares two items for equality.

ComparingGroups
Occurs when two groups are being compared. You can handle this event to control the result of the comparison.

ComparingItems
Occurs when two items are being compared. You can handle this event to control the result of the comparison.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnComparingGroups(ListViewItemSorter..::.ComparingGroupsEventArgs)
OnComparingItems(ListViewItemSorter..::.ComparingItemsEventArgs)
Resort(Int32)
Sorts the items in the ListView by the given column index, reversing the sort if the list is already being sorted by that column. (Group sorting is unaffected.)

Sort()()()
Sorts the groups and items in the ListView.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
ListViewItemSorter

Assembly: CS.Core.Standard.UI (Module: CS.Core.Standard.UI) Version: 1.0.3271.19814