C# 클래스 SevenSoftware.Windows.Controls.ListViewCustomComparer

Enables the listView sorter to compare classes.
상속: IComparer
파일 보기 프로젝트 열기: robertbaker/SevenUpdate

공개 메소드들

메소드 설명
AddSort ( string sortColumn, ListSortDirection direction ) : void

Adds a column to the SortColumns.

Compare ( object x, object y ) : int

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

보호된 메소드들

메소드 설명
ClearSort ( ) : void

Clears the sort columns.

메소드 상세

AddSort() 공개 메소드

Adds a column to the SortColumns.
public AddSort ( string sortColumn, ListSortDirection direction ) : void
sortColumn string A string representing a column to be sorted.
direction ListSortDirection The direction to sort.
리턴 void

ClearSort() 보호된 메소드

Clears the sort columns.
protected ClearSort ( ) : void
리턴 void

Compare() 공개 추상적인 메소드

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
public abstract Compare ( object x, object y ) : int
x object The first object to compare.
y object The second object to compare.
리턴 int