C# Class Nagru___Manga_Organizer.ListViewNF.LVsorter

Handles sorting of ListView columns
Author: Microsoft (March 13, 2008)
Inheritance: IComparer
Afficher le fichier Open project: Nagru/Manga-Organizer

Méthodes publiques

Méthode Description
Compare ( object x, object y ) : int

Handles column comparisons during sorting

LVsorter ( ) : System
NewColumn ( int Column, SortOrder Order = SortOrder.Ascending ) : void

Set a new column to sort by

SwapOrder ( ) : void

Swap the sorting direction

Method Details

Compare() public méthode

Handles column comparisons during sorting
public Compare ( object x, object y ) : int
x object
y object
Résultat int

LVsorter() public méthode

public LVsorter ( ) : System
Résultat System

NewColumn() public méthode

Set a new column to sort by
public NewColumn ( int Column, SortOrder Order = SortOrder.Ascending ) : void
Column int The index of the new column
Order SortOrder The new sort order to use
Résultat void

SwapOrder() public méthode

Swap the sorting direction
public SwapOrder ( ) : void
Résultat void