C# Класс SevenSoftware.Windows.Controls.ListViewCustomComparer

Enables the listView sorter to compare classes.
Наследование: IComparer
Показать файл Открыть проект

Открытые методы

Метод Описание
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